Home
last modified time | relevance | path

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

/linux-6.14.4/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()
178 validate_fetch_results(outer_map_fd, fetched_keys, in fetch_and_validate()
197 int outer_map_fd, ret; in _map_in_map_batch_ops() local
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/
Dbloom_filter_map.c112 int outer_map_fd, inner_map_fd, err, i, key = 0; in test_inner_map() local
128 outer_map_fd = bpf_map__fd(skel->maps.outer_map); in test_inner_map()
129 err = bpf_map_update_elem(outer_map_fd, &key, &inner_map_fd, BPF_ANY); in test_inner_map()
146 err = bpf_map_delete_elem(outer_map_fd, &key); in test_inner_map()
Dmap_in_map.c14 int outer_map_fd; member
46 if (bpf_map_update_elem(ctx->outer_map_fd, &zero, &fd, 0) < 0) in update_map_fn()
109 ctx.outer_map_fd = bpf_map__fd(outer_map); in test_map_in_map_access()
/linux-6.14.4/tools/testing/selftests/bpf/
Dtest_verifier.c637 int inner_map_fd, outer_map_fd; in create_map_in_map() local
649 outer_map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, NULL, in create_map_in_map()
651 if (outer_map_fd < 0) { in create_map_in_map()
660 return outer_map_fd; in create_map_in_map()