Home
last modified time | relevance | path

Searched refs:map_flags (Results 1 – 25 of 104) sorted by relevance

12345

/tools/testing/selftests/bpf/
A Dtest_lru_map.c30 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = map_flags); in create_map()
168 map_flags); in test_lru_sanity0()
172 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity0()
265 map_flags); in test_lru_sanity1()
334 map_flags); in test_lru_sanity2()
439 map_flags); in test_lru_sanity3()
495 map_flags); in test_lru_sanity4()
574 map_flags); in test_lru_sanity5()
622 map_flags); in test_lru_sanity6()
685 map_flags); in test_lru_sanity7()
[all …]
/tools/testing/selftests/bpf/progs/
A Duptr_map_failure.c10 __uint(map_flags, BPF_F_NO_PREALLOC);
17 __uint(map_flags, BPF_F_NO_PREALLOC);
24 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dlocal_storage.c28 __uint(map_flags, BPF_F_NO_PREALLOC);
35 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
42 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
49 __uint(map_flags, BPF_F_NO_PREALLOC);
56 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dsockopt_inherit.c20 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
27 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
34 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dtest_mmap.c12 __uint(map_flags, BPF_F_MMAPABLE | BPF_F_RDONLY_PROG);
19 __uint(map_flags, BPF_F_MMAPABLE);
A Dtest_queue_stack_map.h14 __uint(map_flags, 0);
22 __uint(map_flags, 0);
A Dtask_ls_recursion.c18 __uint(map_flags, BPF_F_NO_PREALLOC);
25 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dtest_btf_map_in_map.c46 __uint(map_flags, BPF_F_INNER_MAP);
55 __uint(map_flags, BPF_F_INNER_MAP);
68 __uint(map_flags, BPF_F_INNER_MAP);
A Dbench_local_storage_create.c20 __uint(map_flags, BPF_F_NO_PREALLOC);
27 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dtest_map_in_map.c11 __uint(map_flags, 0);
19 __uint(map_flags, 0);
A Dnetns_cookie_prog.c11 __uint(map_flags, BPF_F_NO_PREALLOC);
18 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dcgrp_ls_recursion.c12 __uint(map_flags, BPF_F_NO_PREALLOC);
19 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dtest_sk_storage_tracing.c17 __uint(map_flags, BPF_F_NO_PREALLOC);
25 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dhtab_reuse.c18 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dcgrp_ls_tp_btf.c12 __uint(map_flags, BPF_F_NO_PREALLOC);
19 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dtest_sk_storage_trace_itself.c10 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dcgrp_ls_negative.c12 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dbprm_opts.c16 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dread_bpf_task_storage_busy.c17 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dtask_local_storage_exit_creds.c12 __uint(map_flags, BPF_F_NO_PREALLOC);
A Drcu_tasks_trace_gp.c8 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dnested_trust_failure.c15 __uint(map_flags, BPF_F_NO_PREALLOC);
A Dmap_kptr.c45 __uint(map_flags, BPF_F_NO_PREALLOC);
53 __uint(map_flags, BPF_F_NO_PREALLOC);
72 __uint(map_flags, BPF_F_NO_PREALLOC);
79 __uint(map_flags, BPF_F_NO_PREALLOC);
86 __uint(map_flags, BPF_F_NO_PREALLOC);
93 __uint(map_flags, BPF_F_NO_PREALLOC);
/tools/testing/selftests/bpf/map_tests/
A Dmap_percpu_stats.c289 n_iter, n_real, map_type_to_s(info->type), info->map_flags); in check_expected_number_elements()
316 opts.retry_for_nomem = is_percpu(opts.map_type) && (info.map_flags & BPF_F_NO_PREALLOC); in __test()
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()
385 static int create_lru_hash(__u32 type, __u32 map_flags) in create_lru_hash() argument
387 LIBBPF_OPTS(bpf_map_create_opts, map_opts, .map_flags = map_flags); in create_lru_hash()
395 .map_flags = BPF_F_NO_PREALLOC, in create_hash_of_maps()
/tools/testing/selftests/bpf/benchs/
A Dbench_bpf_hashmap_lookup.c22 __u32 map_flags; member
28 .map_flags = 0,
75 args.map_flags = ret; in parse_arg()
169 bpf_map__set_map_flags(ctx.skel->maps.hash_map_bench, args.map_flags); in setup()

Completed in 28 milliseconds

12345