Lines Matching refs:bpf_elf_map
214 static int bpf_map_selfcheck_pinned(int fd, const struct bpf_elf_map *map, in bpf_map_selfcheck_pinned()
218 struct bpf_elf_map tmp, zero; in bpf_map_selfcheck_pinned()
627 const struct bpf_elf_map test = { in bpf_graft_map()
662 offsetof(struct bpf_elf_map, max_elem)); in bpf_graft_map()
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, in bpf_map_attach()
1063 offsetof(struct bpf_elf_map, in bpf_map_attach()
1123 sym.st_value / sizeof(struct bpf_elf_map) != which) in bpf_map_fetch_name()
1188 if (data->sec_data->d_size % sizeof(struct bpf_elf_map) != 0) in bpf_fetch_maps()
1191 ctx->map_num = data->sec_data->d_size / sizeof(struct bpf_elf_map); in bpf_fetch_maps()
1332 rmap = sym.st_value / sizeof(struct bpf_elf_map); in bpf_apply_relo_data()