Lines Matching defs:cache
43 struct cache *cache; member
117 struct cache { struct
118 struct device_node *ofnode; /* OF node for this cache, may be cpu */ argument
119 struct cpumask shared_cpu_map; /* online CPUs using this cache */ argument
120 int type; /* split cache disambiguation */ argument
122 int group_id; /* id of the group of threads that share this cache */ argument
123 struct list_head list; /* global list of cache objects */ argument
124 struct cache *next_local; /* next cache of >= level */ argument
139 static const char *cache_type_string(const struct cache *cache) in cache_type_string()
144 static void cache_init(struct cache *cache, int type, int level, in cache_init()
158 struct cache *cache; in new_cache() local
167 static void release_cache_debugcheck(struct cache *cache) in release_cache_debugcheck()
180 static void release_cache(struct cache *cache) in release_cache()
194 static void cache_cpu_set(struct cache *cache, int cpu) in cache_cpu_set()
208 static int cache_size(const struct cache *cache, unsigned int *ret) in cache_size()
223 static int cache_size_kb(const struct cache *cache, unsigned int *ret) in cache_size_kb()
235 static int cache_get_line_size(const struct cache *cache, unsigned int *ret) in cache_get_line_size()
258 static int cache_nr_sets(const struct cache *cache, unsigned int *ret) in cache_nr_sets()
273 static int cache_associativity(const struct cache *cache, unsigned int *ret) in cache_associativity()
305 static struct cache *cache_find_first_sibling(struct cache *cache) in cache_find_first_sibling()
326 struct cache *cache = NULL; in cache_lookup_by_node_group() local
394 struct cache *cache; in cache_do_one_devnode() local
408 struct cache *cache; in cache_lookup_or_instantiate() local
442 static void do_subsidiary_caches_debugcheck(struct cache *cache) in do_subsidiary_caches_debugcheck()
477 static void do_subsidiary_caches(struct cache *cache, unsigned int cpu_id) in do_subsidiary_caches()
592 struct cache *cache; in size_show() local
609 struct cache *cache; in line_size_show() local
625 struct cache *cache; in nr_sets_show() local
641 struct cache *cache; in associativity_show() local
656 struct cache *cache; in type_show() local
669 struct cache *cache; in level_show() local
684 struct cache *cache; in show_shared_cpumap() local
747 struct cache *cache; in cacheinfo_create_index_opt_attrs() local
785 static void cacheinfo_create_index_dir(struct cache *cache, int index, in cacheinfo_create_index_dir()
814 struct cache *cache; in cacheinfo_sysfs_populate() local
831 struct cache *cache; in cacheinfo_cpu_online() local
848 struct cache *cache; in cache_lookup_by_cpu() local
890 static void cache_cpu_clear(struct cache *cache, int cpu) in cache_cpu_clear()
914 struct cache *cache; in cacheinfo_cpu_offline() local