Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A 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);
H A Dlocal_storage.c27 __uint(map_flags, BPF_F_NO_PREALLOC);
34 __uint(map_flags, BPF_F_NO_PREALLOC | BPF_F_CLONE);
H A Dbpf_iter_bpf_sk_storage_map.c12 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dudp_limit.c11 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dsocket_cookie_prog.c17 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtcp_rtt.c18 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtest_skmsg_load_helpers.c22 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtest_sock_fields.c33 __uint(map_flags, BPF_F_NO_PREALLOC);
40 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dconnect_force_port4.c23 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dconnect_force_port6.c22 __uint(map_flags, BPF_F_NO_PREALLOC);
H A 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);
H A Dsockopt_sk.c23 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dbpf_dctcp.c24 __uint(map_flags, BPF_F_NO_PREALLOC);
H A Dtest_tcp_hdr_options.c40 __uint(map_flags, BPF_F_NO_PREALLOC);
/OK3568_Linux_fs/kernel/samples/bpf/
H A 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);
H A Dtcp_dumpstats_kern.c22 .map_flags = BPF_F_NO_PREALLOC,
H A Dxdp_router_ipv4_kern.c50 __uint(map_flags, BPF_F_NO_PREALLOC);
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A 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()
H A Dtest_tag.c191 sizeof(int), 1, BPF_F_NO_PREALLOC); in main()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf_probes.c221 map_flags = BPF_F_NO_PREALLOC; in bpf_probe_map_type()
239 map_flags = BPF_F_NO_PREALLOC; in bpf_probe_map_type()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A 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()
H A 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()
H A 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