/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bloom_filter_map.c | 35 /* Bloom filter maps do not support BPF_F_NO_PREALLOC */ 36 opts.map_flags = BPF_F_NO_PREALLOC;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 552 opts.map_flags = (type == BPF_MAP_TYPE_HASH ? BPF_F_NO_PREALLOC : 0) | extra_flags; 824 .map_flags = BPF_F_NO_PREALLOC,
|
H A D | test_maps.c | 554 /* Queue map does not support BPF_F_NO_PREALLOC */ 555 if (map_opts.map_flags & BPF_F_NO_PREALLOC) { 610 /* Stack map does not support BPF_F_NO_PREALLOC */ 611 if (map_opts.map_flags & BPF_F_NO_PREALLOC) { 1603 /* Stack/Queue maps do not support BPF_F_NO_PREALLOC */ 1604 if (map_opts.map_flags & BPF_F_NO_PREALLOC) { 1930 map_opts.map_flags = BPF_F_NO_PREALLOC;
|
H A D | test_lpm_map.c | 210 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); 333 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); 425 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); 534 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC); 746 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | type_cast.c | 11 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | task_ls_recursion.c | 18 __uint(map_flags, BPF_F_NO_PREALLOC); 25 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | rcu_read_lock.c | 14 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | sk_storage_omem_uncharge.c | 17 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | map_ptr_kern.c | 100 __uint(map_flags, BPF_F_NO_PREALLOC); /* to test bpf_htab.count */ 325 __uint(map_flags, BPF_F_NO_PREALLOC); 617 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | cgrp_ls_recursion.c | 12 __uint(map_flags, BPF_F_NO_PREALLOC); 19 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | timer.c | 25 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | sockopt_inherit.c | 20 __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);
|
H A D | local_storage.c | 28 __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);
|
H A D | cgrp_ls_sleepable.c | 13 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | cgrp_ls_tp_btf.c | 12 __uint(map_flags, BPF_F_NO_PREALLOC); 19 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | percpu_alloc_cgrp_local_storage.c | 14 __uint(map_flags, BPF_F_NO_PREALLOC);
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf_probes.c | 300 opts.map_flags = BPF_F_NO_PREALLOC; 320 opts.map_flags = BPF_F_NO_PREALLOC;
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1356 BPF_F_NO_PREALLOC = (1U << 0), enumerator in enum:__anon3128
|
/linux-master/kernel/bpf/ |
H A D | lpm_trie.c | 543 #define LPM_CREATE_FLAG_MASK (BPF_F_NO_PREALLOC | BPF_F_NUMA_NODE | \ 552 !(attr->map_flags & BPF_F_NO_PREALLOC) ||
|
H A D | hashtab.c | 21 (BPF_F_NO_PREALLOC | BPF_F_NO_COMMON_LRU | BPF_F_NUMA_NODE | \ 134 return !(htab->map.map_flags & BPF_F_NO_PREALLOC); 423 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); 478 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC);
|
H A D | bpf_local_storage.c | 18 #define BPF_LOCAL_STORAGE_CREATE_FLAG_MASK (BPF_F_NO_PREALLOC | BPF_F_CLONE) 674 !(attr->map_flags & BPF_F_NO_PREALLOC) ||
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 1356 BPF_F_NO_PREALLOC = (1U << 0), enumerator in enum:__anon2587
|
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | map_percpu_stats.c | 315 opts.retry_for_nomem = is_percpu(opts.map_type) && (info.map_flags & BPF_F_NO_PREALLOC); 362 LIBBPF_OPTS(bpf_map_create_opts, map_opts, .map_flags = BPF_F_NO_PREALLOC); 369 LIBBPF_OPTS(bpf_map_create_opts, map_opts, .map_flags = BPF_F_NO_PREALLOC); 394 .map_flags = BPF_F_NO_PREALLOC,
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_htab_mem.c | 185 bpf_map__set_map_flags(map, bpf_map__map_flags(map) & ~BPF_F_NO_PREALLOC);
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | kwork_top.bpf.c | 52 __uint(map_flags, BPF_F_NO_PREALLOC);
|