Searched refs:bpf_elf_map (Results 1 – 5 of 5) sorted by relevance
24 struct bpf_elf_map ent[BPF_SCM_MAX_FDS];69 sizeof(struct bpf_elf_map) * num; in bpf_map_set_init_single()
30 struct bpf_elf_map { struct
100 struct bpf_elf_map __section_maps NAME = { \
189 struct bpf_elf_map __section("maps") map_proto = {197 struct bpf_elf_map __section("maps") map_queue = {205 struct bpf_elf_map __section("maps") map_drops = {
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()[all …]