Home
last modified time | relevance | path

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

/linux/arch/loongarch/kernel/
H A 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()
56 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_cpumap_setup()
60 if (cache_leaves_are_shared(this_leaf, sib_leaf)) { in cache_cpumap_setup()
61 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_cpumap_setup()
/linux/drivers/base/
H A Dcacheinfo.c41 struct cacheinfo *sib_leaf) in cache_leaves_are_shared() argument
49 return (this_leaf->level != 1) && (sib_leaf->level != 1); in cache_leaves_are_shared()
51 if ((sib_leaf->attributes & CACHE_ID) && in cache_leaves_are_shared()
53 return sib_leaf->id == this_leaf->id; in cache_leaves_are_shared()
55 return sib_leaf->fw_token == this_leaf->fw_token; in cache_leaves_are_shared()
395 struct cacheinfo *this_leaf, *sib_leaf; in cache_shared_cpu_map_setup() local
423 sib_leaf = per_cpu_cacheinfo_idx(i, sib_index); in cache_shared_cpu_map_setup()
430 if (sib_leaf->level != this_leaf->level || in cache_shared_cpu_map_setup()
431 sib_leaf->type != this_leaf->type) in cache_shared_cpu_map_setup()
434 if (cache_leaves_are_shared(this_leaf, sib_leaf)) { in cache_shared_cpu_map_setup()
[all …]