Searched refs:outer_map_fd (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/map_tests/ |
| A D | map_in_map_batch_ops.c | 68 int outer_map_fd; in create_outer_map() local 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 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 221 fetch_and_validate(outer_map_fd, &opts, in _map_in_map_batch_ops() 226 fetch_and_validate(outer_map_fd, &opts, in _map_in_map_batch_ops() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | map_in_map.c | 12 int outer_map_fd; member 44 if (bpf_map_update_elem(ctx->outer_map_fd, &zero, &fd, 0) < 0) in update_map_fn() 107 ctx.outer_map_fd = bpf_map__fd(outer_map); in test_map_in_map_access()
|
| A D | bloom_filter_map.c | 107 int outer_map_fd, inner_map_fd, err, i, key = 0; in test_inner_map() local 123 outer_map_fd = bpf_map__fd(skel->maps.outer_map); in test_inner_map() 124 err = bpf_map_update_elem(outer_map_fd, &key, &inner_map_fd, BPF_ANY); in test_inner_map() 141 err = bpf_map_delete_elem(outer_map_fd, &key); in test_inner_map()
|
| /linux/tools/testing/selftests/bpf/ |
| A D | test_verifier.c | 641 int inner_map_fd, outer_map_fd; in create_map_in_map() local 653 outer_map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, NULL, in create_map_in_map() 655 if (outer_map_fd < 0) { in create_map_in_map() 664 return outer_map_fd; in create_map_in_map()
|
Completed in 12 milliseconds