Lines Matching refs:cache_info
120 struct cache_info { struct
129 struct cache_info *cache_leaves; argument
139 struct cache_info * this_leaf) in cache_shared_cpu_map_setup()
174 struct cache_info * this_leaf) in cache_shared_cpu_map_setup()
181 static ssize_t show_coherency_line_size(struct cache_info *this_leaf, in show_coherency_line_size()
187 static ssize_t show_ways_of_associativity(struct cache_info *this_leaf, in show_ways_of_associativity()
193 static ssize_t show_attributes(struct cache_info *this_leaf, char *buf) in show_attributes()
200 static ssize_t show_size(struct cache_info *this_leaf, char *buf) in show_size()
205 static ssize_t show_number_of_sets(struct cache_info *this_leaf, char *buf) in show_number_of_sets()
214 static ssize_t show_shared_cpu_map(struct cache_info *this_leaf, char *buf) in show_shared_cpu_map()
224 static ssize_t show_type(struct cache_info *this_leaf, char *buf) in show_type()
230 static ssize_t show_level(struct cache_info *this_leaf, char *buf) in show_level()
237 ssize_t (*show)(struct cache_info *, char *);
238 ssize_t (*store)(struct cache_info *, const char *, size_t count);
269 #define to_object(k) container_of(k, struct cache_info, kobj)
275 struct cache_info *this_leaf = to_object(kobj); in ia64_cache_show()
310 struct cache_info *this_cache; in cpu_cache_sysfs_init()
318 this_cache=kcalloc(unique_caches, sizeof(struct cache_info), in cpu_cache_sysfs_init()
352 struct cache_info *this_object; in cache_add_dev()