Lines Matching refs:cache_info
124 struct cache_info { struct
133 struct cache_info *cache_leaves; argument
143 struct cache_info * this_leaf) in cache_shared_cpu_map_setup()
178 struct cache_info * this_leaf) in cache_shared_cpu_map_setup()
185 static ssize_t show_coherency_line_size(struct cache_info *this_leaf, in show_coherency_line_size()
191 static ssize_t show_ways_of_associativity(struct cache_info *this_leaf, in show_ways_of_associativity()
197 static ssize_t show_attributes(struct cache_info *this_leaf, char *buf) in show_attributes()
204 static ssize_t show_size(struct cache_info *this_leaf, char *buf) in show_size()
209 static ssize_t show_number_of_sets(struct cache_info *this_leaf, char *buf) in show_number_of_sets()
218 static ssize_t show_shared_cpu_map(struct cache_info *this_leaf, char *buf) in show_shared_cpu_map()
228 static ssize_t show_type(struct cache_info *this_leaf, char *buf) in show_type()
234 static ssize_t show_level(struct cache_info *this_leaf, char *buf) in show_level()
241 ssize_t (*show)(struct cache_info *, char *);
242 ssize_t (*store)(struct cache_info *, const char *, size_t count);
273 #define to_object(k) container_of(k, struct cache_info, kobj)
279 struct cache_info *this_leaf = to_object(kobj); in ia64_cache_show()
314 struct cache_info *this_cache; in cpu_cache_sysfs_init()
322 this_cache=kzalloc(sizeof(struct cache_info)*unique_caches, in cpu_cache_sysfs_init()
356 struct cache_info *this_object; in cache_add_dev()