• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/kernel/

Lines Matching defs:this_leaf

126 		struct cache_info * this_leaf)
134 cpu_set(cpu, this_leaf->shared_cpu_map);
138 if (ia64_pal_cache_shared_info(this_leaf->level,
139 this_leaf->type,
150 cpu_set(j, this_leaf->shared_cpu_map);
154 ia64_pal_cache_shared_info(this_leaf->level,
155 this_leaf->type,
161 struct cache_info * this_leaf)
163 cpu_set(cpu, this_leaf->shared_cpu_map);
168 static ssize_t show_coherency_line_size(struct cache_info *this_leaf,
171 return sprintf(buf, "%u\n", 1 << this_leaf->cci.pcci_line_size);
174 static ssize_t show_ways_of_associativity(struct cache_info *this_leaf,
177 return sprintf(buf, "%u\n", this_leaf->cci.pcci_assoc);
180 static ssize_t show_attributes(struct cache_info *this_leaf, char *buf)
184 cache_mattrib[this_leaf->cci.pcci_cache_attr]);
187 static ssize_t show_size(struct cache_info *this_leaf, char *buf)
189 return sprintf(buf, "%uK\n", this_leaf->cci.pcci_cache_size / 1024);
192 static ssize_t show_number_of_sets(struct cache_info *this_leaf, char *buf)
194 unsigned number_of_sets = this_leaf->cci.pcci_cache_size;
195 number_of_sets /= this_leaf->cci.pcci_assoc;
196 number_of_sets /= 1 << this_leaf->cci.pcci_line_size;
201 static ssize_t show_shared_cpu_map(struct cache_info *this_leaf, char *buf)
206 cpus_and(shared_cpu_map, this_leaf->shared_cpu_map, cpu_online_map);
212 static ssize_t show_type(struct cache_info *this_leaf, char *buf)
214 int type = this_leaf->type + this_leaf->cci.pcci_unified;
218 static ssize_t show_level(struct cache_info *this_leaf, char *buf)
220 return sprintf(buf, "%u\n", this_leaf->level);
263 struct cache_info *this_leaf = to_object(kobj);
266 ret = fattr->show ? fattr->show(this_leaf, buf) : 0;