Lines Matching refs:this_leaf
103 static void ci_leaf_init(struct cacheinfo *this_leaf, int private,
112 this_leaf->level = level + 1;
113 this_leaf->type = type;
114 this_leaf->coherency_line_size = ecag(EXTRACT_LINE_SIZE, level, ti);
115 this_leaf->ways_of_associativity = ecag(EXTRACT_ASSOCIATIVITY, level, ti);
116 this_leaf->size = ecag(EXTRACT_SIZE, level, ti);
117 num_sets = this_leaf->size / this_leaf->coherency_line_size;
118 num_sets /= this_leaf->ways_of_associativity;
119 this_leaf->number_of_sets = num_sets;
120 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map);
122 this_leaf->disable_sysfs = true;
150 struct cacheinfo *this_leaf = this_cpu_ci->info_list;
158 if (!this_leaf)
163 ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_DATA, level, cpu);
164 ci_leaf_init(this_leaf++, pvt, CACHE_TYPE_INST, level, cpu);
166 ci_leaf_init(this_leaf++, pvt, ctype, level, cpu);