/openbmc/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | map_percpu_stats.c | 304 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()
|
H A D | lpm_trie_map_batch_ops.c | 68 LIBBPF_OPTS(bpf_map_create_opts, create_opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_trie_map_batch_ops()
|
H A D | sk_storage_map.c | 22 static struct bpf_map_create_opts map_opts = { 462 struct bpf_map_create_opts bad_xattr; in test_sk_storage_map_basic()
|
H A D | map_in_map_batch_ops.c | 69 LIBBPF_OPTS(bpf_map_create_opts, attr); in create_outer_map()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bloom_filter_map.c | 11 LIBBPF_OPTS(bpf_map_create_opts, opts); in test_fail_cases() 66 LIBBPF_OPTS(bpf_map_create_opts, opts); in test_success_cases()
|
H A D | select_reuseport.c | 68 LIBBPF_OPTS(bpf_map_create_opts, opts); in create_maps()
|
H A D | btf.c | 4325 LIBBPF_OPTS(bpf_map_create_opts, opts); in do_test_raw() 4532 LIBBPF_OPTS(bpf_map_create_opts, opts); in test_btf_id() 5385 LIBBPF_OPTS(bpf_map_create_opts, opts); in do_test_pprint()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_lpm_map.c | 210 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()
|
H A D | test_verifier.c | 547 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()
|
H A D | test_tag.c | 187 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in main()
|
H A D | test_lru_map.c | 30 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = map_flags); in create_map()
|
H A D | test_maps.c | 35 static struct bpf_map_create_opts map_opts = { .sz = sizeof(map_opts) };
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf_gen_internal.h | 61 struct bpf_map_create_opts *map_attr, int map_idx);
|
H A D | bpf.h | 40 struct bpf_map_create_opts { struct 62 const struct bpf_map_create_opts *opts); argument
|
H A D | libbpf_probes.c | 279 LIBBPF_OPTS(bpf_map_create_opts, opts); in probe_map_create()
|
H A D | bpf.c | 170 const struct bpf_map_create_opts *opts) in bpf_map_create() 180 if (!OPTS_VALID(opts, bpf_map_create_opts)) in bpf_map_create()
|
H A D | gen_loader.c | 452 struct bpf_map_create_opts *map_attr, int map_idx) in bpf_gen__map_create()
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_array.rst | 145 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);
|
H A D | map_of_maps.rst | 98 LIBBPF_OPTS(bpf_map_create_opts, opts, .inner_map_fd = inner_fd);
|
H A D | map_bloom_filter.rst | 149 LIBBPF_OPTS(bpf_map_create_opts, opts,
|
/openbmc/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_local_storage.c | 120 LIBBPF_OPTS(bpf_map_create_opts, create_opts); in __setup()
|
/openbmc/linux/samples/bpf/ |
H A D | map_perf_test_user.c | 136 LIBBPF_OPTS(bpf_map_create_opts, opts, in do_test_lru()
|
H A D | test_lru_dist.c | 204 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_map()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | feature.c | 599 LIBBPF_OPTS(bpf_map_create_opts, opts); in probe_map_type_ifindex()
|
H A D | map.c | 1241 LIBBPF_OPTS(bpf_map_create_opts, attr); in do_create()
|