Home | History | Annotate | Download | only in tc

Lines Matching refs:bpf_elf_map

214 static int bpf_map_selfcheck_pinned(int fd, const struct bpf_elf_map *map,
218 struct bpf_elf_map tmp, zero;
627 const struct bpf_elf_map test = {
662 offsetof(struct bpf_elf_map, max_elem));
699 struct bpf_elf_map maps[ELF_MAX_MAPS];
721 struct bpf_elf_map *ent;
1055 static int bpf_map_attach(const char *name, const struct bpf_elf_map *map,
1063 offsetof(struct bpf_elf_map,
1123 sym.st_value / sizeof(struct bpf_elf_map) != which)
1188 if (data->sec_data->d_size % sizeof(struct bpf_elf_map) != 0)
1191 ctx->map_num = data->sec_data->d_size / sizeof(struct bpf_elf_map);
1332 rmap = sym.st_value / sizeof(struct bpf_elf_map);