Lines Matching defs:cpu

33 #define ci_cacheinfo(cpu)	(&per_cpu(ci_cpu_cacheinfo, cpu))  argument
34 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) argument
35 #define per_cpu_cacheinfo(cpu) (ci_cacheinfo(cpu)->info_list) argument
37 struct cpu_cacheinfo *get_cpu_cacheinfo(unsigned int cpu) in get_cpu_cacheinfo()
43 static int cache_setup_of_node(unsigned int cpu) in cache_setup_of_node()
89 static inline int cache_setup_of_node(unsigned int cpu) { return 0; } in cache_setup_of_node()
102 static int cache_shared_cpu_map_setup(unsigned int cpu) in cache_shared_cpu_map_setup()
138 static void cache_shared_cpu_map_remove(unsigned int cpu) in cache_shared_cpu_map_remove()
164 static void free_cache_attributes(unsigned int cpu) in free_cache_attributes()
175 int __weak init_cache_level(unsigned int cpu) in init_cache_level()
180 int __weak populate_cache_leaves(unsigned int cpu) in populate_cache_leaves()
185 static int detect_cache_attributes(unsigned int cpu) in detect_cache_attributes()
219 #define per_cpu_cache_dev(cpu) (per_cpu(ci_cache_dev, cpu)) argument
225 #define per_cpu_index_dev(cpu) (per_cpu(ci_index_dev, cpu)) argument
226 #define per_cache_index_dev(cpu, idx) ((per_cpu_index_dev(cpu))[idx]) argument
423 static void cpu_cache_sysfs_exit(unsigned int cpu) in cpu_cache_sysfs_exit()
442 static int cpu_cache_sysfs_init(unsigned int cpu) in cpu_cache_sysfs_init()
466 static int cache_add_dev(unsigned int cpu) in cache_add_dev()
501 static void cache_remove_dev(unsigned int cpu) in cache_remove_dev()
513 unsigned int cpu = (unsigned long)hcpu; in cacheinfo_cpu_callback() local
532 int cpu, rc = 0; in cacheinfo_sysfs_init() local