Home
last modified time | relevance | path

Searched refs:inner_map_fd (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/tools/lib/bpf/
Dbpf.h51 __u32 inner_map_fd; member
66 int inner_map_fd, int max_entries,
70 int inner_map_fd, int max_entries,
Dbpf.c98 attr.inner_map_fd = create_attr->inner_map_fd; in bpf_create_map_xattr()
154 int key_size, int inner_map_fd, int max_entries, in bpf_create_map_in_map_node() argument
164 attr.inner_map_fd = inner_map_fd; in bpf_create_map_in_map_node()
180 int key_size, int inner_map_fd, int max_entries, in bpf_create_map_in_map() argument
184 inner_map_fd, max_entries, map_flags, in bpf_create_map_in_map()
Dlibbpf.c221 int inner_map_fd; member
806 obj->maps[i].inner_map_fd = -1; in bpf_object__add_map()
2179 map->inner_map_fd >= 0) in bpf_object__create_maps()
2180 create_attr.inner_map_fd = map->inner_map_fd; in bpf_object__create_maps()
4709 if (map->inner_map_fd != -1) { in bpf_map__set_inner_map_fd()
4713 map->inner_map_fd = fd; in bpf_map__set_inner_map_fd()
/Linux-v5.4/samples/bpf/
Dtest_map_in_map_user.c32 static void check_map_id(int inner_map_fd, int map_in_map_fd, uint32_t key) in check_map_id() argument
38 ret = bpf_obj_get_info_by_fd(inner_map_fd, &info, &info_len); in check_map_id()
Dbpf_load.c285 int inner_map_fd = map_fd[maps[i].def.inner_map_idx]; in load_maps() local
290 inner_map_fd, in load_maps()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_verifier.c473 int inner_map_fd, outer_map_fd; in create_map_in_map() local
475 inner_map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(int), in create_map_in_map()
477 if (inner_map_fd < 0) { in create_map_in_map()
481 return inner_map_fd; in create_map_in_map()
485 sizeof(int), inner_map_fd, 1, 0); in create_map_in_map()
493 close(inner_map_fd); in create_map_in_map()
Dtest_select_reuseport.c79 attr.inner_map_fd = reuseport_array; in create_maps()
/Linux-v5.4/include/uapi/linux/
Dbpf.h378 __u32 inner_map_fd; /* fd pointing to the inner map */ member
/Linux-v5.4/tools/include/uapi/linux/
Dbpf.h378 __u32 inner_map_fd; /* fd pointing to the inner map */ member
/Linux-v5.4/kernel/bpf/
Darraymap.c768 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in array_of_map_alloc()
Dhashtab.c1455 inner_map_meta = bpf_map_meta_alloc(attr->inner_map_fd); in htab_of_map_alloc()