Searched refs:outer_map (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/samples/bpf/ |
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()
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | select_reuseport.c | 38 static int reuseport_array = -1, outer_map = -1; variable 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() 110 err = bpf_map__reuse_fd(map, outer_map); in prepare_bpf_obj() 692 err = bpf_map_update_elem(outer_map, &index_zero, &reuseport_array, in setup_per_test() 722 err = bpf_map_delete_elem(outer_map, &index_zero); in cleanup_per_test() 729 if (outer_map != -1) { in cleanup() 730 close(outer_map); in cleanup() 731 outer_map = -1; in cleanup()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
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()
|