Home
last modified time | relevance | path

Searched refs:bpf_map_create_opts (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v6.6/tools/testing/selftests/bpf/map_tests/
Dmap_percpu_stats.c304 struct bpf_map_create_opts *map_opts, in map_create_opts()
322 static int map_create(__u32 type, const char *name, struct bpf_map_create_opts *map_opts) in map_create()
329 struct bpf_map_create_opts map_opts = { in create_hash()
339 struct bpf_map_create_opts map_opts = { in create_percpu_hash()
359 struct bpf_map_create_opts map_opts = { in create_lru_hash()
369 struct bpf_map_create_opts map_opts = { in create_hash_of_maps()
Dlpm_trie_map_batch_ops.c68 LIBBPF_OPTS(bpf_map_create_opts, create_opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_trie_map_batch_ops()
Dmap_in_map_batch_ops.c69 LIBBPF_OPTS(bpf_map_create_opts, attr); in create_outer_map()
Dsk_storage_map.c22 static struct bpf_map_create_opts map_opts = {
462 struct bpf_map_create_opts bad_xattr; in test_sk_storage_map_basic()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbloom_filter_map.c10 LIBBPF_OPTS(bpf_map_create_opts, opts); in test_fail_cases()
60 LIBBPF_OPTS(bpf_map_create_opts, opts); in test_success_cases()
Dselect_reuseport.c68 LIBBPF_OPTS(bpf_map_create_opts, opts); in create_maps()
Dbtf.c4325 LIBBPF_OPTS(bpf_map_create_opts, opts); in do_test_raw()
4532 LIBBPF_OPTS(bpf_map_create_opts, opts); in test_btf_id()
5389 LIBBPF_OPTS(bpf_map_create_opts, opts); in do_test_pprint()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_lpm_map.c210 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_map()
333 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_ipaddr()
425 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_delete()
534 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_get_next_key()
746 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_multi_thread()
Dtest_verifier.c547 LIBBPF_OPTS(bpf_map_create_opts, opts); in __create_map()
638 LIBBPF_OPTS(bpf_map_create_opts, opts); in create_map_in_map()
803 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_map_spin_lock()
821 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_sk_storage_map()
841 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_map_timer()
860 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_map_kptr()
Dtest_tag.c187 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in main()
Dtest_lru_map.c30 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = map_flags); in create_map()
Dtest_maps.c35 static struct bpf_map_create_opts map_opts = { .sz = sizeof(map_opts) };
/Linux-v6.6/tools/lib/bpf/
Dbpf_gen_internal.h61 struct bpf_map_create_opts *map_attr, int map_idx);
Dbpf.h40 struct bpf_map_create_opts { struct
62 const struct bpf_map_create_opts *opts); argument
Dlibbpf_probes.c279 LIBBPF_OPTS(bpf_map_create_opts, opts); in probe_map_create()
Dbpf.c170 const struct bpf_map_create_opts *opts) in bpf_map_create()
180 if (!OPTS_VALID(opts, bpf_map_create_opts)) in bpf_map_create()
Dgen_loader.c452 struct bpf_map_create_opts *map_attr, int map_idx) in bpf_gen__map_create()
/Linux-v6.6/Documentation/bpf/
Dmap_array.rst145 This snippet shows how to create an array, using ``bpf_map_create_opts`` to
156 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_MMAPABLE);
Dmap_of_maps.rst98 LIBBPF_OPTS(bpf_map_create_opts, opts, .inner_map_fd = inner_fd);
Dmap_bloom_filter.rst149 LIBBPF_OPTS(bpf_map_create_opts, opts,
/Linux-v6.6/tools/testing/selftests/bpf/benchs/
Dbench_local_storage.c120 LIBBPF_OPTS(bpf_map_create_opts, create_opts); in __setup()
/Linux-v6.6/samples/bpf/
Dmap_perf_test_user.c136 LIBBPF_OPTS(bpf_map_create_opts, opts, in do_test_lru()
Dtest_lru_dist.c204 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_map()
/Linux-v6.6/tools/bpf/bpftool/
Dfeature.c599 LIBBPF_OPTS(bpf_map_create_opts, opts); in probe_map_type_ifindex()
Dmap.c1241 LIBBPF_OPTS(bpf_map_create_opts, attr); in do_create()

12