Searched refs:sib_leaf (Results 1 – 2 of 2) sorted by relevance
25 struct cacheinfo *sib_leaf) in cache_leaves_are_shared() argument28 && !(*(unsigned char *)(sib_leaf->priv) & CACHE_PRIVATE)); in cache_leaves_are_shared()34 struct cacheinfo *this_leaf, *sib_leaf; in cache_cpumap_setup() local53 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()
40 struct cacheinfo *sib_leaf) in cache_leaves_are_shared() argument48 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() local390 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()[all …]