Home
last modified time | relevance | path

Searched refs:sib_leaf (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dcacheinfo.c24 struct cacheinfo *sib_leaf) in cache_leaves_are_shared()
27 && !(*(unsigned char *)(sib_leaf->priv) & CACHE_PRIVATE)); in cache_leaves_are_shared()
33 struct cacheinfo *this_leaf, *sib_leaf; in cache_cpumap_setup() local
52 sib_leaf = sib_cpu_ci->info_list + index; in cache_cpumap_setup()
53 if (cache_leaves_are_shared(this_leaf, sib_leaf)) { in cache_cpumap_setup()
54 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_cpumap_setup()
23 cache_leaves_are_shared(struct cacheinfo *this_leaf, struct cacheinfo *sib_leaf) cache_leaves_are_shared() argument
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dcacheinfo.c25 struct cacheinfo *sib_leaf) in cache_leaves_are_shared()
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()
24 cache_leaves_are_shared(struct cacheinfo *this_leaf, struct cacheinfo *sib_leaf) cache_leaves_are_shared() argument
/kernel/linux/linux-6.6/drivers/base/
H A Dcacheinfo.c40 struct cacheinfo *sib_leaf) in cache_leaves_are_shared()
48 return (this_leaf->level != 1) && (sib_leaf->level != 1); in cache_leaves_are_shared()
50 if ((sib_leaf->attributes & CACHE_ID) && in cache_leaves_are_shared()
52 return sib_leaf->id == this_leaf->id; in cache_leaves_are_shared()
54 return sib_leaf->fw_token == this_leaf->fw_token; in cache_leaves_are_shared()
360 struct cacheinfo *this_leaf, *sib_leaf; in cache_shared_cpu_map_setup() local
390 sib_leaf = per_cpu_cacheinfo_idx(i, sib_index); in cache_shared_cpu_map_setup()
397 if (sib_leaf->level != this_leaf->level || in cache_shared_cpu_map_setup()
398 sib_leaf->type != this_leaf->type) in cache_shared_cpu_map_setup()
401 if (cache_leaves_are_shared(this_leaf, sib_leaf)) { in cache_shared_cpu_map_setup()
39 cache_leaves_are_shared(struct cacheinfo *this_leaf, struct cacheinfo *sib_leaf) cache_leaves_are_shared() argument
421 struct cacheinfo *this_leaf, *sib_leaf; cache_shared_cpu_map_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/base/
H A Dcacheinfo.c36 struct cacheinfo *sib_leaf) in cache_leaves_are_shared()
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()
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 in cache_shared_cpu_map_remove()
35 cache_leaves_are_shared(struct cacheinfo *this_leaf, struct cacheinfo *sib_leaf) cache_leaves_are_shared() argument
199 cache_leaves_are_shared(struct cacheinfo *this_leaf, struct cacheinfo *sib_leaf) cache_leaves_are_shared() argument
[all...]

Completed in 3 milliseconds