Home
last modified time | relevance | path

Searched refs:BPF_F_NO_PREALLOC (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dsockopt_inherit.c19 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
26 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
33 __uint(map_flags, BPF_F_NO_PREALLOC);
Dlocal_storage.c27 __uint(map_flags, BPF_F_NO_PREALLOC);
34 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
Dbpf_iter_bpf_sk_storage_map.c12 __uint(map_flags, BPF_F_NO_PREALLOC);
Dudp_limit.c11 __uint(map_flags, BPF_F_NO_PREALLOC);
Dsocket_cookie_prog.c17 __uint(map_flags, BPF_F_NO_PREALLOC);
Dtcp_rtt.c18 __uint(map_flags, BPF_F_NO_PREALLOC);
Dtest_skmsg_load_helpers.c22 __uint(map_flags, BPF_F_NO_PREALLOC);
Dconnect_force_port4.c23 __uint(map_flags, BPF_F_NO_PREALLOC);
Dtest_sock_fields.c32 __uint(map_flags, BPF_F_NO_PREALLOC);
39 __uint(map_flags, BPF_F_NO_PREALLOC);
Dconnect_force_port6.c22 __uint(map_flags, BPF_F_NO_PREALLOC);
Dsockopt_sk.c23 __uint(map_flags, BPF_F_NO_PREALLOC);
Dmap_ptr_kern.c106 __uint(map_flags, BPF_F_NO_PREALLOC); /* to test bpf_htab.count */
326 __uint(map_flags, BPF_F_NO_PREALLOC);
606 __uint(map_flags, BPF_F_NO_PREALLOC);
Dbpf_dctcp.c24 __uint(map_flags, BPF_F_NO_PREALLOC);
Dtest_tcp_hdr_options.c40 __uint(map_flags, BPF_F_NO_PREALLOC);
/Linux-v5.10/samples/bpf/
Dmap_perf_test_kern.c72 __uint(map_flags, BPF_F_NO_PREALLOC);
80 __uint(map_flags, BPF_F_NO_PREALLOC);
88 __uint(map_flags, BPF_F_NO_PREALLOC);
Dtcp_dumpstats_kern.c22 .map_flags = BPF_F_NO_PREALLOC,
Dxdp_router_ipv4_kern.c50 __uint(map_flags, BPF_F_NO_PREALLOC);
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_lpm_map.c240 BPF_F_NO_PREALLOC); in test_lpm_map()
347 100, BPF_F_NO_PREALLOC); in test_lpm_ipaddr()
352 100, BPF_F_NO_PREALLOC); in test_lpm_ipaddr()
436 100, BPF_F_NO_PREALLOC); in test_lpm_delete()
548 100, BPF_F_NO_PREALLOC); in test_lpm_get_next_key()
766 100, BPF_F_NO_PREALLOC); in test_lpm_multi_thread()
Dtest_tag.c191 sizeof(int), 1, BPF_F_NO_PREALLOC); in main()
Dtest_maps.c544 if (map_flags & BPF_F_NO_PREALLOC) { in test_queuemap()
602 if (map_flags & BPF_F_NO_PREALLOC) { in test_stackmap()
1443 if (map_flags & BPF_F_NO_PREALLOC) { in test_map_wronly_stack_or_queue()
1767 map_flags = BPF_F_NO_PREALLOC; in main()
Dtest_verifier.c387 BPF_F_NO_PREALLOC : 0) | extra_flags); in __create_map()
601 .map_flags = BPF_F_NO_PREALLOC, in create_sk_storage_map()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf_probes.c219 map_flags = BPF_F_NO_PREALLOC; in bpf_probe_map_type()
237 map_flags = BPF_F_NO_PREALLOC; in bpf_probe_map_type()
/Linux-v5.10/kernel/bpf/
Dbpf_local_storage.c15 #define BPF_LOCAL_STORAGE_CREATE_FLAG_MASK (BPF_F_NO_PREALLOC | BPF_F_CLONE)
525 !(attr->map_flags & BPF_F_NO_PREALLOC) || in bpf_local_storage_map_alloc_check()
Dlpm_trie.c537 #define LPM_CREATE_FLAG_MASK (BPF_F_NO_PREALLOC | BPF_F_NUMA_NODE | \
551 !(attr->map_flags & BPF_F_NO_PREALLOC) || in trie_alloc()
Dhashtab.c18 (BPF_F_NO_PREALLOC | BPF_F_NO_COMMON_LRU | BPF_F_NUMA_NODE | \
127 return !(htab->map.map_flags & BPF_F_NO_PREALLOC); in htab_is_prealloc()
354 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc_check()
423 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc()

12