Searched refs:outer_map (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | test_map_in_map_kern.c | 113 void *outer_map, *inner_map; in trace_sys_connect() local 143 outer_map = &a_of_port_a; in trace_sys_connect() 145 outer_map = &h_of_port_a; in trace_sys_connect() 147 outer_map = &h_of_port_h; in trace_sys_connect() 154 inner_map = bpf_map_lookup_elem(outer_map, &port_key); in trace_sys_connect()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
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 | 27 } outer_map SEC(".maps"); 149 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
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | select_reuseport.c | 38 static int reuseport_array = -1, outer_map = -1; variable 84 /* Creating outer_map */ in create_maps() 85 attr.name = "outer_map"; in create_maps() 91 outer_map = bpf_create_map_xattr(&attr); in create_maps() 92 RET_ERR(outer_map == -1, "creating outer_map", in create_maps() 93 "outer_map:%d errno:%d\n", outer_map, errno); in create_maps() 108 map = bpf_object__find_map_by_name(obj, "outer_map"); in prepare_bpf_obj() 109 RET_ERR(!map, "find outer_map", "!ma in prepare_bpf_obj() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | select_reuseport.c | 37 static int reuseport_array = -1, outer_map = -1; variable 78 /* Creating outer_map */ in create_maps() 80 outer_map = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, "outer_map", in create_maps() 82 RET_ERR(outer_map < 0, "creating outer_map", in create_maps() 83 "outer_map:%d errno:%d\n", outer_map, errno); in create_maps() 99 map = bpf_object__find_map_by_name(obj, "outer_map"); in prepare_bpf_obj() 100 RET_ERR(!map, "find outer_map", "!ma in prepare_bpf_obj() [all...] |
H A D | bloom_filter_map.c | 117 outer_map_fd = bpf_map__fd(skel->maps.outer_map); in test_inner_map()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_select_reuseport_kern.c | 29 } outer_map SEC(".maps"); 151 reuseport_array = bpf_map_lookup_elem(&outer_map, &index_zero); in _select_by_skb_data()
|
Completed in 4 milliseconds