Lines Matching refs:cache_leaves
26 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves)
61 if (!cache_leaves(cpu))
64 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1);
78 llc_x = per_cpu_cacheinfo_idx(cpu_x, cache_leaves(cpu_x) - 1);
79 llc_y = per_cpu_cacheinfo_idx(cpu_y, cache_leaves(cpu_y) - 1);
222 while (index < cache_leaves(cpu)) {
238 if (index != cache_leaves(cpu)) /* not all OF nodes populated */
378 for (index = 0; index < cache_leaves(cpu); index++) {
389 for (sib_index = 0; sib_index < cache_leaves(i); sib_index++) {
424 for (index = 0; index < cache_leaves(cpu); index++) {
433 for (sib_index = 0; sib_index < cache_leaves(sibling); sib_index++) {
484 per_cpu_cacheinfo(cpu) = kcalloc(cache_leaves(cpu),
487 cache_leaves(cpu) = 0;
516 if (ret || !cache_leaves(cpu)) {
521 if (!cache_leaves(cpu))
532 unsigned int early_leaves = cache_leaves(cpu);
547 if (init_cache_level(cpu) || !cache_leaves(cpu))
557 if (cache_leaves(cpu) <= early_leaves)
828 for (i = 0; i < cache_leaves(cpu); i++) {
853 per_cpu_index_dev(cpu) = kcalloc(cache_leaves(cpu),
878 for (i = 0; i < cache_leaves(cpu); i++) {
910 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1);
924 sib_llc = per_cpu_cacheinfo_idx(sibling, cache_leaves(sibling) - 1);
953 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1);