Home
last modified time | relevance | path

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

/linux-6.1.9/arch/loongarch/kernel/
Dcacheinfo.c25 struct cacheinfo *sib_leaf) in cache_leaves_are_shared() argument
28 && !(*(unsigned char *)(sib_leaf->priv) & CACHE_PRIVATE)); in cache_leaves_are_shared()
34 struct cacheinfo *this_leaf, *sib_leaf; in cache_cpumap_setup() local
53 sib_leaf = sib_cpu_ci->info_list + index; in cache_cpumap_setup()
54 if (cache_leaves_are_shared(this_leaf, sib_leaf)) { in cache_cpumap_setup()
55 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_cpumap_setup()
/linux-6.1.9/drivers/base/
Dcacheinfo.c37 struct cacheinfo *sib_leaf) in cache_leaves_are_shared() argument
47 if ((sib_leaf->attributes & CACHE_ID) && in cache_leaves_are_shared()
49 return sib_leaf->id == this_leaf->id; in cache_leaves_are_shared()
51 return sib_leaf->fw_token == this_leaf->fw_token; in cache_leaves_are_shared()
253 struct cacheinfo *this_leaf, *sib_leaf; in cache_shared_cpu_map_setup() local
283 sib_leaf = per_cpu_cacheinfo_idx(i, index); in cache_shared_cpu_map_setup()
284 if (cache_leaves_are_shared(this_leaf, sib_leaf)) { in cache_shared_cpu_map_setup()
285 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
299 struct cacheinfo *this_leaf, *sib_leaf; in cache_shared_cpu_map_remove() local
311 sib_leaf = per_cpu_cacheinfo_idx(sibling, index); in cache_shared_cpu_map_remove()
[all …]