Home
last modified time | relevance | path

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

/linux/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.c1673 bool is_percpu, u64 flags) in __htab_map_lookup_and_delete_elem() argument
1699 if (is_percpu) { in __htab_map_lookup_and_delete_elem()
1770 bool is_percpu) in __htab_map_lookup_and_delete_batch() argument
1791 if (!do_delete && is_percpu) in __htab_map_lookup_and_delete_batch()
1818 if (is_percpu && !(elem_map_flags & BPF_F_CPU)) in __htab_map_lookup_and_delete_batch()
1896 if (is_percpu) { in __htab_map_lookup_and_delete_batch()
2270 bool is_percpu; in bpf_for_each_hash_elem() local
2278 is_percpu = htab_is_percpu(htab); in bpf_for_each_hash_elem()
2290 if (is_percpu) { in bpf_for_each_hash_elem()
H A Darraymap.c752 bool is_percpu; in bpf_for_each_array_elem() local
761 is_percpu = map->map_type == BPF_MAP_TYPE_PERCPU_ARRAY; in bpf_for_each_array_elem()
764 if (is_percpu) in bpf_for_each_array_elem()
/linux/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()