Searched refs:is_percpu (Results 1 – 4 of 4) sorted by relevance
135 static bool is_percpu(__u32 map_type) in is_percpu() function178 } 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()
1679 bool is_percpu, u64 flags) in __htab_map_lookup_and_delete_elem() argument1705 if (is_percpu) { in __htab_map_lookup_and_delete_elem()1776 bool is_percpu) in __htab_map_lookup_and_delete_batch() argument1797 if (!do_delete && is_percpu) in __htab_map_lookup_and_delete_batch()1824 if (is_percpu && !(elem_map_flags & BPF_F_CPU)) in __htab_map_lookup_and_delete_batch()1902 if (is_percpu) { in __htab_map_lookup_and_delete_batch()2276 bool is_percpu; in bpf_for_each_hash_elem() local2284 is_percpu = htab_is_percpu(htab); in bpf_for_each_hash_elem()2296 if (is_percpu) { in bpf_for_each_hash_elem()
807 bool is_percpu; in bpf_for_each_array_elem() local816 is_percpu = map->map_type == BPF_MAP_TYPE_PERCPU_ARRAY; in bpf_for_each_array_elem()819 if (is_percpu) in bpf_for_each_array_elem()
1980 bool is_percpu = type == LIBBPF_MAP_PERCPU; in bpf_object__init_internal_map() local2002 def->type = is_percpu ? BPF_MAP_TYPE_PERCPU_ARRAY : BPF_MAP_TYPE_ARRAY; in bpf_object__init_internal_map()2016 map->name, is_percpu ? "percpu " : "", map->sec_idx, in bpf_object__init_internal_map()5328 bool is_percpu = map_type == LIBBPF_MAP_PERCPU; in bpf_object__populate_internal_map() local5329 const __u64 update_flags = is_percpu ? BPF_F_ALL_CPUS : 0; in bpf_object__populate_internal_map()5386 } else if (is_percpu) { in bpf_object__populate_internal_map()5671 bool is_percpu = map->libbpf_type == LIBBPF_MAP_PERCPU; in bpf_object__create_maps() local5674 feat_id = is_percpu ? FEAT_PERCPU_DATA : FEAT_GLOBAL_DATA; in bpf_object__create_maps()