Home
last modified time | relevance | path

Searched refs:is_percpu (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/kernel/bpf/
H A Dmap_iter.c106 bool is_percpu = false; in bpf_iter_attach_map() local
119 is_percpu = true; in bpf_iter_attach_map()
128 if (!is_percpu) in bpf_iter_attach_map()
H A Dhashtab.c1580 bool is_percpu, u64 flags) in __htab_map_lookup_and_delete_elem() argument
1606 if (is_percpu) { in __htab_map_lookup_and_delete_elem()
1680 bool is_percpu) in __htab_map_lookup_and_delete_batch() argument
1726 if (is_percpu) in __htab_map_lookup_and_delete_batch()
1804 if (is_percpu) { in __htab_map_lookup_and_delete_batch()
2173 bool is_percpu; in bpf_for_each_hash_elem() local
2181 is_percpu = htab_is_percpu(htab); in bpf_for_each_hash_elem()
2194 if (is_percpu) { in bpf_for_each_hash_elem()
H A Darraymap.c734 bool is_percpu; in bpf_for_each_array_elem() local
743 is_percpu = map->map_type == BPF_MAP_TYPE_PERCPU_ARRAY; in bpf_for_each_array_elem()
746 if (is_percpu) in bpf_for_each_array_elem()
/linux-6.15/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c135 static bool is_percpu(__u32 map_type) in is_percpu() function
178 } else if (is_percpu(opts->map_type)) { in patch_map_thread()
316 opts.retry_for_nomem = is_percpu(opts.map_type) && (info.map_flags & BPF_F_NO_PREALLOC); in __test()