Searched refs:BPF_F_NO_PREALLOC (Results 1 - 25 of 68) sorted by path

123

/linux-master/include/uapi/linux/
H A Dbpf.h1356 BPF_F_NO_PREALLOC = (1U << 0), enumerator in enum:__anon2587
/linux-master/kernel/bpf/
H A Dbpf_local_storage.c18 #define BPF_LOCAL_STORAGE_CREATE_FLAG_MASK (BPF_F_NO_PREALLOC | BPF_F_CLONE)
674 !(attr->map_flags & BPF_F_NO_PREALLOC) ||
H A Dhashtab.c21 (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 Dlpm_trie.c543 #define LPM_CREATE_FLAG_MASK (BPF_F_NO_PREALLOC | BPF_F_NUMA_NODE | \
552 !(attr->map_flags & BPF_F_NO_PREALLOC) ||
/linux-master/samples/bpf/
H A Dmap_perf_test.bpf.c70 __uint(map_flags, BPF_F_NO_PREALLOC);
78 __uint(map_flags, BPF_F_NO_PREALLOC);
86 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtcp_dumpstats_kern.c22 .map_flags = BPF_F_NO_PREALLOC,
H A Dxdp_router_ipv4.bpf.c47 __uint(map_flags, BPF_F_NO_PREALLOC);
/linux-master/tools/bpf/runqslower/
H A Drunqslower.bpf.c15 __uint(map_flags, BPF_F_NO_PREALLOC);
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1356 BPF_F_NO_PREALLOC = (1U << 0), enumerator in enum:__anon3128
/linux-master/tools/lib/bpf/
H A Dlibbpf_probes.c300 opts.map_flags = BPF_F_NO_PREALLOC;
320 opts.map_flags = BPF_F_NO_PREALLOC;
/linux-master/tools/perf/util/bpf_skel/
H A Dkwork_top.bpf.c52 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Doff_cpu.bpf.c44 __uint(map_flags, BPF_F_NO_PREALLOC);
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_htab_mem.c185 bpf_map__set_map_flags(map, bpf_map__map_flags(map) & ~BPF_F_NO_PREALLOC);
H A Dbench_local_storage.c123 create_opts.map_flags = BPF_F_NO_PREALLOC;
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dlpm_trie_map_batch_ops.c68 LIBBPF_OPTS(bpf_map_create_opts, create_opts, .map_flags = BPF_F_NO_PREALLOC);
H A Dmap_percpu_stats.c315 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,
H A Dsk_storage_map.c27 .map_flags = BPF_F_NO_PREALLOC,
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbloom_filter_map.c35 /* Bloom filter maps do not support BPF_F_NO_PREALLOC */
36 opts.map_flags = BPF_F_NO_PREALLOC;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbench_local_storage_create.c20 __uint(map_flags, BPF_F_NO_PREALLOC);
27 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dbpf_dctcp.c31 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dbpf_iter_bpf_sk_storage_helpers.c11 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dbpf_iter_bpf_sk_storage_map.c12 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dbprm_opts.c16 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dcgrp_ls_attach_cgroup.c18 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dcgrp_ls_negative.c12 __uint(map_flags, BPF_F_NO_PREALLOC);

Completed in 282 milliseconds

123