Symbol: BPF_F_NO_PREALLOC
kernel/bpf/bpf_local_storage.c
18
#define BPF_LOCAL_STORAGE_CREATE_FLAG_MASK (BPF_F_NO_PREALLOC | BPF_F_CLONE)
kernel/bpf/bpf_local_storage.c
791
!(attr->map_flags & BPF_F_NO_PREALLOC) ||
kernel/bpf/hashtab.c
135
return !(htab->map.map_flags & BPF_F_NO_PREALLOC);
kernel/bpf/hashtab.c
22
(BPF_F_NO_PREALLOC | BPF_F_NO_COMMON_LRU | BPF_F_NUMA_NODE | \
kernel/bpf/hashtab.c
419
bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC);
kernel/bpf/hashtab.c
552
bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC);
kernel/bpf/lpm_trie.c
568
#define LPM_CREATE_FLAG_MASK (BPF_F_NO_PREALLOC | BPF_F_NUMA_NODE | \
kernel/bpf/lpm_trie.c
579
!(attr->map_flags & BPF_F_NO_PREALLOC) ||
samples/bpf/map_perf_test.bpf.c
70
__uint(map_flags, BPF_F_NO_PREALLOC);
samples/bpf/map_perf_test.bpf.c
78
__uint(map_flags, BPF_F_NO_PREALLOC);
samples/bpf/map_perf_test.bpf.c
86
__uint(map_flags, BPF_F_NO_PREALLOC);
samples/bpf/tcp_dumpstats_kern.c
22
.map_flags = BPF_F_NO_PREALLOC,
samples/bpf/xdp_router_ipv4.bpf.c
47
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/lib/bpf/libbpf_probes.c
300
opts.map_flags = BPF_F_NO_PREALLOC;
tools/lib/bpf/libbpf_probes.c
320
opts.map_flags = BPF_F_NO_PREALLOC;
tools/perf/util/bpf_skel/bperf_follower.bpf.c
29
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/perf/util/bpf_skel/kwork_top.bpf.c
52
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/perf/util/bpf_skel/off_cpu.bpf.c
71
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/sched_ext/scx_flatcg.bpf.c
127
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/sched_ext/scx_flatcg.bpf.c
96
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/sched_ext/scx_qmap.bpf.c
110
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/sched_ext/scx_sdt.bpf.c
525
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/sched_ext/scx_userland.bpf.c
90
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/benchs/bench_htab_mem.c
185
bpf_map__set_map_flags(map, bpf_map__map_flags(map) & ~BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/benchs/bench_local_storage.c
123
create_opts.map_flags = BPF_F_NO_PREALLOC;
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
228
LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
351
LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
443
LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
552
LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
764
LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c
796
opts.map_flags = BPF_F_NO_PREALLOC;
tools/testing/selftests/bpf/map_tests/lpm_trie_map_batch_ops.c
68
LIBBPF_OPTS(bpf_map_create_opts, create_opts, .map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/lpm_trie_map_get_next_key.c
64
.map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/map_percpu_stats.c
316
opts.retry_for_nomem = is_percpu(opts.map_type) && (info.map_flags & BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/map_percpu_stats.c
363
LIBBPF_OPTS(bpf_map_create_opts, map_opts, .map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/map_percpu_stats.c
370
LIBBPF_OPTS(bpf_map_create_opts, map_opts, .map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/map_tests/map_percpu_stats.c
395
.map_flags = BPF_F_NO_PREALLOC,
tools/testing/selftests/bpf/map_tests/sk_storage_map.c
27
.map_flags = BPF_F_NO_PREALLOC,
tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c
40
opts.map_flags = BPF_F_NO_PREALLOC;
tools/testing/selftests/bpf/progs/bench_local_storage_create.c
20
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/bench_local_storage_create.c
27
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/bpf_dctcp.c
33
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/bpf_iter_bpf_sk_storage_helpers.c
11
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/bpf_iter_bpf_sk_storage_map.c
12
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/bpf_smc.c
60
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/bprm_opts.c
16
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/cgrp_ls_attach_cgroup.c
18
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/cgrp_ls_negative.c
12
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/cgrp_ls_recursion.c
12
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/cgrp_ls_recursion.c
19
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/cgrp_ls_sleepable.c
12
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/cgrp_ls_tp_btf.c
12
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/cgrp_ls_tp_btf.c
19
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/connect_force_port4.c
24
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/connect_force_port6.c
23
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/htab_mem_bench.c
20
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/htab_reuse.c
18
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/local_storage.c
28
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/local_storage.c
35
__uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
tools/testing/selftests/bpf/progs/local_storage.c
42
__uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
tools/testing/selftests/bpf/progs/local_storage.c
49
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/local_storage.c
56
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/local_storage_bench.c
17
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/local_storage_rcu_tasks_trace_bench.c
10
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/lpm_trie_bench.c
24
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/lpm_trie_map.c
17
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_kptr.c
45
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_kptr.c
53
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_kptr.c
72
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_kptr.c
79
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_kptr.c
86
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_kptr.c
93
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_kptr_race.c
14
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_kptr_race.c
22
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_kptr_race.c
30
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_ptr_kern.c
100
__uint(map_flags, BPF_F_NO_PREALLOC); /* to test bpf_htab.count */
tools/testing/selftests/bpf/progs/map_ptr_kern.c
325
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/map_ptr_kern.c
617
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/mptcp_sock.c
23
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/nested_trust_failure.c
15
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/nested_trust_success.c
15
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/net_timestamping.c
36
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/netns_cookie_prog.c
11
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/netns_cookie_prog.c
18
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/percpu_alloc_cgrp_local_storage.c
14
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/rcu_read_lock.c
24
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/sk_storage_omem_uncharge.c
16
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/socket_cookie_prog.c
19
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/sockopt_inherit.c
20
__uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
tools/testing/selftests/bpf/progs/sockopt_inherit.c
27
__uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
tools/testing/selftests/bpf/progs/sockopt_inherit.c
34
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/sockopt_sk.c
24
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_local_data.bpf.h
122
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_local_data.bpf.h
129
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_local_storage.c
12
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_local_storage_exit_creds.c
12
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_ls_recursion.c
18
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_ls_recursion.c
25
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_ls_uptr.c
14
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_storage_nodeadlock.c
16
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_work.c
23
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_work_fail.c
22
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/task_work_stress.c
27
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/tcp_rtt.c
20
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/test_pinning_htab.c
24
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/test_sk_storage_trace_itself.c
10
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/test_sk_storage_tracing.c
17
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/test_sk_storage_tracing.c
25
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/test_skmsg_load_helpers.c
22
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/test_sock_fields.c
32
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/test_sock_fields.c
39
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/test_tcp_hdr_options.c
37
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/timer.c
30
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/type_cast.c
11
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/udp_limit.c
11
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/update_map_in_htab.c
23
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/uptr_failure.c
12
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/uptr_map_failure.c
10
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/uptr_map_failure.c
17
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/uptr_map_failure.c
24
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/uptr_update_failure.c
10
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/verifier_sock.c
46
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/wq.c
28
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/progs/xdpwall.c
62
__uint(map_flags, BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/test_maps.c
1403
map_opts.map_flags == BPF_F_NO_PREALLOC));
tools/testing/selftests/bpf/test_maps.c
1602
if (map_opts.map_flags & BPF_F_NO_PREALLOC) {
tools/testing/selftests/bpf/test_maps.c
1928
map_opts.map_flags = BPF_F_NO_PREALLOC;
tools/testing/selftests/bpf/test_maps.c
551
if (map_opts.map_flags & BPF_F_NO_PREALLOC) {
tools/testing/selftests/bpf/test_maps.c
607
if (map_opts.map_flags & BPF_F_NO_PREALLOC) {
tools/testing/selftests/bpf/test_tag.c
187
LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_NO_PREALLOC);
tools/testing/selftests/bpf/test_verifier.c
548
opts.map_flags = (type == BPF_MAP_TYPE_HASH ? BPF_F_NO_PREALLOC : 0) | extra_flags;
tools/testing/selftests/bpf/test_verifier.c
820
.map_flags = BPF_F_NO_PREALLOC,
tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.bpf.c
25
__uint(map_flags, BPF_F_NO_PREALLOC);