Searched refs:outer_map (Results 1 – 3 of 3) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_select_reuseport.c | 35 static int reuseport_array, outer_map; variable 80 outer_map = bpf_create_map_xattr(&attr); in create_maps() 81 CHECK(outer_map == -1, "creating outer_map", in create_maps() 82 "outer_map:%d errno:%d\n", outer_map, errno); in create_maps() 105 err = bpf_map__reuse_fd(map, outer_map); in prepare_bpf_obj() 619 err = bpf_map_delete_elem(outer_map, &index_zero); in cleanup_per_test() 626 close(outer_map); in cleanup() 657 err = bpf_map_update_elem(outer_map, &index_zero, in test_all()
|
D | test_select_reuseport_kern.c | 24 struct bpf_map_def SEC("maps") outer_map = { 145 reuseport_array = bpf_map_lookup_elem(&outer_map, &index_zero); in _select_by_skb_data()
|
/external/iproute2/lib/ |
D | bpf.c | 1536 struct bpf_elf_map outer_map; in bpf_report_map_in_map() local 1541 ret = bpf_derive_elf_map_from_fdinfo(outer_fd, &outer_map, NULL); in bpf_report_map_in_map() 1543 if (idx >= outer_map.max_elem && in bpf_report_map_in_map() 1544 outer_map.type == BPF_MAP_TYPE_ARRAY_OF_MAPS) { in bpf_report_map_in_map() 1546 outer_map.max_elem, idx); in bpf_report_map_in_map()
|