Lines Matching defs:cache
42 struct cache *cache; member
116 struct cache { struct
117 struct device_node *ofnode; /* OF node for this cache, may be cpu */ argument
118 struct cpumask shared_cpu_map; /* online CPUs using this cache */ argument
119 int type; /* split cache disambiguation */ argument
121 struct list_head list; /* global list of cache objects */ argument
122 struct cache *next_local; /* next cache of >= level */ argument
137 static const char *cache_type_string(const struct cache *cache) in cache_type_string()
142 static void cache_init(struct cache *cache, int type, int level, in cache_init()
154 struct cache *cache; in new_cache() local
163 static void release_cache_debugcheck(struct cache *cache) in release_cache_debugcheck()
176 static void release_cache(struct cache *cache) in release_cache()
190 static void cache_cpu_set(struct cache *cache, int cpu) in cache_cpu_set()
204 static int cache_size(const struct cache *cache, unsigned int *ret) in cache_size()
219 static int cache_size_kb(const struct cache *cache, unsigned int *ret) in cache_size_kb()
231 static int cache_get_line_size(const struct cache *cache, unsigned int *ret) in cache_get_line_size()
254 static int cache_nr_sets(const struct cache *cache, unsigned int *ret) in cache_nr_sets()
269 static int cache_associativity(const struct cache *cache, unsigned int *ret) in cache_associativity()
301 static struct cache *cache_find_first_sibling(struct cache *cache) in cache_find_first_sibling()
319 struct cache *cache = NULL; in cache_lookup_by_node() local
385 struct cache *cache; in cache_do_one_devnode() local
398 struct cache *cache; in cache_lookup_or_instantiate() local
423 static void do_subsidiary_caches_debugcheck(struct cache *cache) in do_subsidiary_caches_debugcheck()
429 static void do_subsidiary_caches(struct cache *cache) in do_subsidiary_caches()
539 struct cache *cache; in size_show() local
556 struct cache *cache; in line_size_show() local
572 struct cache *cache; in nr_sets_show() local
588 struct cache *cache; in associativity_show() local
603 struct cache *cache; in type_show() local
616 struct cache *cache; in level_show() local
642 static const struct cpumask *get_big_core_shared_cpu_map(int cpu, struct cache *cache) in get_big_core_shared_cpu_map()
653 struct cache *cache; in shared_cpu_map_show() local
711 struct cache *cache; in cacheinfo_create_index_opt_attrs() local
749 static void cacheinfo_create_index_dir(struct cache *cache, int index, in cacheinfo_create_index_dir()
778 struct cache *cache; in cacheinfo_sysfs_populate() local
795 struct cache *cache; in cacheinfo_cpu_online() local
812 struct cache *cache; in cache_lookup_by_cpu() local
852 static void cache_cpu_clear(struct cache *cache, int cpu) in cache_cpu_clear()
876 struct cache *cache; in cacheinfo_cpu_offline() local