Home
last modified time | relevance | path

Searched refs:outer_map (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/samples/bpf/
H A Dtest_map_in_map.bpf.c112 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()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbloom_filter_map.c32 } outer_map SEC(".maps");
62 inner_map = bpf_map_lookup_elem(&outer_map, &key); in inner_map()
H A Dtest_select_reuseport_kern.c27 } outer_map SEC(".maps");
149 reuseport_array = bpf_map_lookup_elem(&outer_map, &index_zero); in _select_by_skb_data()
H A Dinner_array_lookup.c13 struct outer_map { struct
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c37 static int reuseport_array = -1, outer_map = -1; variable
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()
101 err = bpf_map__reuse_fd(map, outer_map); in prepare_bpf_obj()
683 err = bpf_map_update_elem(outer_map, &index_zero, &reuseport_array, in setup_per_test()
713 err = bpf_map_delete_elem(outer_map, &index_zero); in cleanup_per_test()
720 if (outer_map >= 0) { in cleanup()
721 close(outer_map); in cleanup()
722 outer_map = -1; in cleanup()
H A Dbloom_filter_map.c123 outer_map_fd = bpf_map__fd(skel->maps.outer_map); in test_inner_map()
/openbmc/linux/Documentation/bpf/
H A Dmap_of_maps.rst82 } outer_map SEC(".maps") = {