Searched refs:BPF_F_NO_PREALLOC (Results 1 - 25 of 68) sorted by last modified time

123

/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/
H A Dtest_verifier.c552 opts.map_flags = (type == BPF_MAP_TYPE_HASH ? BPF_F_NO_PREALLOC : 0) | extra_flags;
824 .map_flags = BPF_F_NO_PREALLOC,
H A Dtest_maps.c554 /* 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 Dtest_lpm_map.c210 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 Dtype_cast.c11 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtask_ls_recursion.c18 __uint(map_flags, BPF_F_NO_PREALLOC);
25 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Drcu_read_lock.c14 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dsk_storage_omem_uncharge.c17 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dmap_ptr_kern.c100 __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 Dcgrp_ls_recursion.c12 __uint(map_flags, BPF_F_NO_PREALLOC);
19 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtimer.c25 __uint(map_flags, BPF_F_NO_PREALLOC);
H 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);
H 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);
H A Dcgrp_ls_sleepable.c13 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dcgrp_ls_tp_btf.c12 __uint(map_flags, BPF_F_NO_PREALLOC);
19 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dpercpu_alloc_cgrp_local_storage.c14 __uint(map_flags, BPF_F_NO_PREALLOC);
/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/include/uapi/linux/
H A Dbpf.h1356 BPF_F_NO_PREALLOC = (1U << 0), enumerator in enum:__anon3128
/linux-master/kernel/bpf/
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) ||
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 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) ||
/linux-master/include/uapi/linux/
H A Dbpf.h1356 BPF_F_NO_PREALLOC = (1U << 0), enumerator in enum:__anon2587
/linux-master/tools/testing/selftests/bpf/map_tests/
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,
/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);
/linux-master/tools/perf/util/bpf_skel/
H A Dkwork_top.bpf.c52 __uint(map_flags, BPF_F_NO_PREALLOC);

Completed in 404 milliseconds

123