Home
last modified time | relevance | path

Searched refs:outer_map_fd (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/map_tests/
Dmap_in_map_batch_ops.c68 int outer_map_fd; in create_outer_map() local
72 outer_map_fd = bpf_map_create(map_type, "outer_map", sizeof(__u32), in create_outer_map()
75 CHECK(outer_map_fd < 0, in create_outer_map()
80 return outer_map_fd; in create_outer_map()
83 static void validate_fetch_results(int outer_map_fd, in validate_fetch_results() argument
121 static void fetch_and_validate(int outer_map_fd, in fetch_and_validate() argument
142 ? bpf_map_lookup_and_delete_batch(outer_map_fd, in fetch_and_validate()
148 : bpf_map_lookup_batch(outer_map_fd, in fetch_and_validate()
177 validate_fetch_results(outer_map_fd, fetched_keys, in fetch_and_validate()
195 int outer_map_fd, ret; in _map_in_map_batch_ops() local
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbloom_filter_map.c101 int outer_map_fd, inner_map_fd, err, i, key = 0; in test_inner_map() local
117 outer_map_fd = bpf_map__fd(skel->maps.outer_map); in test_inner_map()
118 err = bpf_map_update_elem(outer_map_fd, &key, &inner_map_fd, BPF_ANY); in test_inner_map()
135 err = bpf_map_delete_elem(outer_map_fd, &key); in test_inner_map()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_verifier.c643 int inner_map_fd, outer_map_fd; in create_map_in_map() local
655 outer_map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, NULL, in create_map_in_map()
657 if (outer_map_fd < 0) { in create_map_in_map()
666 return outer_map_fd; in create_map_in_map()