| /tools/testing/selftests/bpf/map_tests/ |
| A D | map_percpu_stats.c | 338 struct bpf_map_create_opts *map_opts, in map_create_opts() 356 static int map_create(__u32 type, const char *name, struct bpf_map_create_opts *map_opts) in map_create() 363 LIBBPF_OPTS(bpf_map_create_opts, map_opts, .map_flags = BPF_F_NO_PREALLOC); in create_hash() 370 LIBBPF_OPTS(bpf_map_create_opts, map_opts, .map_flags = BPF_F_NO_PREALLOC); in create_percpu_hash() 387 LIBBPF_OPTS(bpf_map_create_opts, map_opts, .map_flags = map_flags); in create_lru_hash() 394 LIBBPF_OPTS(bpf_map_create_opts, map_opts, in create_hash_of_maps() 464 struct bpf_map_create_opts opts = { .sz = sizeof(opts) }; in map_percpu_stats_map_value_size()
|
| A D | lpm_trie_map_get_next_key.c | 63 LIBBPF_OPTS(bpf_map_create_opts, create_opts, in test_lpm_trie_map_get_next_key()
|
| 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()
|
| A D | lpm_trie_map_basic_ops.c | 228 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_map() 351 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_ipaddr() 443 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_delete() 552 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_get_next_key() 764 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in test_lpm_multi_thread() 793 LIBBPF_OPTS(bpf_map_create_opts, opts); in lpm_trie_create()
|
| A D | map_in_map_batch_ops.c | 69 LIBBPF_OPTS(bpf_map_create_opts, attr); in create_outer_map()
|
| 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()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | bloom_filter_map.c | 15 LIBBPF_OPTS(bpf_map_create_opts, opts); in test_fail_cases() 70 LIBBPF_OPTS(bpf_map_create_opts, opts); in test_success_cases()
|
| A D | task_local_storage.c | 459 LIBBPF_OPTS(bpf_map_create_opts, create_attr); in test_uptr_map_failure()
|
| A D | select_reuseport.c | 66 LIBBPF_OPTS(bpf_map_create_opts, opts); in create_maps()
|
| A D | token.c | 502 LIBBPF_OPTS(bpf_map_create_opts, map_opts); in userns_map_create()
|
| A D | btf.c | 4400 LIBBPF_OPTS(bpf_map_create_opts, opts); in do_test_raw() 4610 LIBBPF_OPTS(bpf_map_create_opts, opts); in test_btf_id() 5463 LIBBPF_OPTS(bpf_map_create_opts, opts); in do_test_pprint()
|
| /tools/lib/bpf/ |
| A D | bpf_gen_internal.h | 62 struct bpf_map_create_opts *map_attr, int map_idx);
|
| A D | features.c | 56 LIBBPF_OPTS(bpf_map_create_opts, map_opts, in probe_kern_global_data() 214 LIBBPF_OPTS(bpf_map_create_opts, opts, in probe_kern_array_mmap() 272 LIBBPF_OPTS(bpf_map_create_opts, map_opts, in probe_prog_bind_map()
|
| A D | bpf.h | 40 struct bpf_map_create_opts { struct 66 const struct bpf_map_create_opts *opts); argument
|
| A D | libbpf_probes.c | 284 LIBBPF_OPTS(bpf_map_create_opts, opts); in probe_map_create()
|
| A D | bpf.c | 173 const struct bpf_map_create_opts *opts) in bpf_map_create() 183 if (!OPTS_VALID(opts, bpf_map_create_opts)) in bpf_map_create()
|
| A D | gen_loader.c | 485 struct bpf_map_create_opts *map_attr, int map_idx) in bpf_gen__map_create()
|
| A D | libbpf.c | 5213 LIBBPF_OPTS(bpf_map_create_opts, create_attr); in bpf_object__create_map()
|
| /tools/testing/selftests/bpf/ |
| A D | test_tag.c | 187 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); in main()
|
| A D | test_verifier.c | 545 LIBBPF_OPTS(bpf_map_create_opts, opts); in __create_map() 636 LIBBPF_OPTS(bpf_map_create_opts, opts); in create_map_in_map() 801 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_map_spin_lock() 819 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_sk_storage_map() 839 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_map_timer() 858 LIBBPF_OPTS(bpf_map_create_opts, opts, in create_map_kptr()
|
| A D | test_lru_map.c | 30 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = map_flags); in create_map()
|
| A D | test_maps.c | 31 static struct bpf_map_create_opts map_opts = { .sz = sizeof(map_opts) };
|
| /tools/testing/selftests/bpf/benchs/ |
| A D | bench_local_storage.c | 120 LIBBPF_OPTS(bpf_map_create_opts, create_opts); in __setup()
|
| /tools/bpf/bpftool/ |
| A D | feature.c | 595 LIBBPF_OPTS(bpf_map_create_opts, opts); in probe_map_type_ifindex()
|
| A D | map.c | 1251 LIBBPF_OPTS(bpf_map_create_opts, attr); in do_create()
|