Home
last modified time | relevance | path

Searched refs:sib_leaf (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/arch/loongarch/kernel/
Dcacheinfo.c65 struct cacheinfo *sib_leaf) in cache_leaves_are_shared() argument
73 struct cacheinfo *this_leaf, *sib_leaf; in cache_cpumap_setup() local
90 sib_leaf = sib_cpu_ci->info_list + index; in cache_cpumap_setup()
91 if (cache_leaves_are_shared(this_leaf, sib_leaf)) { in cache_cpumap_setup()
92 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_cpumap_setup()
/linux-5.19.10/drivers/base/
Dcacheinfo.c36 struct cacheinfo *sib_leaf) in cache_leaves_are_shared() argument
38 return sib_leaf->fw_token == this_leaf->fw_token; in cache_leaves_are_shared()
200 struct cacheinfo *sib_leaf) in cache_leaves_are_shared() argument
221 struct cacheinfo *this_leaf, *sib_leaf; in cache_shared_cpu_map_setup() local
250 sib_leaf = sib_cpu_ci->info_list + index; in cache_shared_cpu_map_setup()
251 if (cache_leaves_are_shared(this_leaf, sib_leaf)) { in cache_shared_cpu_map_setup()
252 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
267 struct cacheinfo *this_leaf, *sib_leaf; in cache_shared_cpu_map_remove() local
282 sib_leaf = sib_cpu_ci->info_list + index; in cache_shared_cpu_map_remove()
283 cpumask_clear_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_shared_cpu_map_remove()