Searched refs:BPF_F_NO_PREALLOC (Results 51 - 68 of 68) sorted by relevance

123

/linux-master/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c44 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dkwork_top.bpf.c52 __uint(map_flags, BPF_F_NO_PREALLOC);
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage.c123 create_opts.map_flags = BPF_F_NO_PREALLOC;
H A Dbench_htab_mem.c185 bpf_map__set_map_flags(map, bpf_map__map_flags(map) & ~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/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 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);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdpwall.c62 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtimer.c25 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Drcu_read_lock.c14 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtest_tcp_hdr_options.c40 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dverifier_sock.c50 __uint(map_flags, BPF_F_NO_PREALLOC);
/linux-master/tools/testing/selftests/bpf/
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_verifier.c552 opts.map_flags = (type == BPF_MAP_TYPE_HASH ? BPF_F_NO_PREALLOC : 0) | extra_flags;
824 .map_flags = BPF_F_NO_PREALLOC,
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c27 .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/include/uapi/linux/
H A Dbpf.h1356 BPF_F_NO_PREALLOC = (1U << 0), enumerator in enum:__anon3128

Completed in 430 milliseconds

123