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

/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dmap_in_map_batch_ops.c68 int outer_map_fd; local
72 outer_map_fd = bpf_map_create(map_type, "outer_map", sizeof(__u32),
75 CHECK(outer_map_fd < 0,
80 return outer_map_fd;
83 static void validate_fetch_results(int outer_map_fd, argument
121 static void fetch_and_validate(int outer_map_fd, argument
142 ? bpf_map_lookup_and_delete_batch(outer_map_fd,
148 : bpf_map_lookup_batch(outer_map_fd,
177 validate_fetch_results(outer_map_fd, fetched_keys,
195 int outer_map_fd, re local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dmap_in_map.c12 int outer_map_fd; member in struct:thread_ctx
44 if (bpf_map_update_elem(ctx->outer_map_fd, &zero, &fd, 0) < 0)
107 ctx.outer_map_fd = bpf_map__fd(outer_map);
H A Dbloom_filter_map.c107 int outer_map_fd, inner_map_fd, err, i, key = 0; local
123 outer_map_fd = bpf_map__fd(skel->maps.outer_map);
124 err = bpf_map_update_elem(outer_map_fd, &key, &inner_map_fd, BPF_ANY);
141 err = bpf_map_delete_elem(outer_map_fd, &key);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_verifier.c641 int inner_map_fd, outer_map_fd; local
653 outer_map_fd = bpf_map_create(BPF_MAP_TYPE_ARRAY_OF_MAPS, NULL,
655 if (outer_map_fd < 0) {
664 return outer_map_fd;

Completed in 183 milliseconds