Searched refs:outer_map (Results 1 – 10 of 10) sorted by relevance
| /linux/samples/bpf/ |
| H A D | test_map_in_map.bpf.c | 112 void *outer_map, *inner_map; in BPF_KSYSCALL() local 139 outer_map = &a_of_port_a; in BPF_KSYSCALL() 141 outer_map = &h_of_port_a; in BPF_KSYSCALL() 143 outer_map = &h_of_port_h; in BPF_KSYSCALL() 150 inner_map = bpf_map_lookup_elem(outer_map, &port_key); in BPF_KSYSCALL()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | access_map_in_map.c | 44 static int acc_map_in_map(void *outer_map) in acc_map_in_map() argument 54 inner_map = bpf_map_lookup_elem(outer_map, &key); in acc_map_in_map() 60 inner_map = bpf_map_lookup_elem(outer_map, &key); in acc_map_in_map()
|
| H A D | mmap_inner_array.c | 25 } outer_map SEC(".maps"); 45 map = bpf_map_lookup_elem(&outer_map, &curr_pid); in add_to_list_in_inner_array()
|
| H A D | bloom_filter_map.c | 32 } outer_map SEC(".maps"); 62 inner_map = bpf_map_lookup_elem(&outer_map, &key); in inner_map()
|
| H A D | test_select_reuseport_kern.c | 26 } outer_map SEC(".maps"); 148 reuseport_array = bpf_map_lookup_elem(&outer_map, &index_zero); in _select_by_skb_data()
|
| H A D | inner_array_lookup.c | 13 struct outer_map { struct
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | select_reuseport.c | 37 static int reuseport_array = -1, outer_map = -1; variable 72 /* Creating outer_map */ in create_maps() 74 outer_map = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, "outer_map", in create_maps() 76 RET_ERR(outer_map < 0, "creating outer_map", in create_maps() 77 "outer_map:%d errno:%d\n", outer_map, errno); in create_maps() 93 map = bpf_object__find_map_by_name(obj, "outer_map"); in prepare_bpf_obj() 94 RET_ERR(!map, "find outer_map", "!ma in prepare_bpf_obj() [all...] |
| H A D | test_mmap_inner_array.c | 39 err = bpf_map__update_elem(skel->maps.outer_map, in test_mmap_inner_array()
|
| H A D | bloom_filter_map.c | 128 outer_map_fd = bpf_map__fd(skel->maps.outer_map); in test_inner_map()
|
| /linux/Documentation/bpf/ |
| H A D | map_of_maps.rst | 82 } outer_map SEC(".maps") = {
|