Lines Matching defs:cpu

25 #define ci_cacheinfo(cpu)	(&per_cpu(ci_cpu_cacheinfo, cpu))  argument
26 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) argument
27 #define per_cpu_cacheinfo(cpu) (ci_cacheinfo(cpu)->info_list) argument
29 struct cpu_cacheinfo *get_cpu_cacheinfo(unsigned int cpu) in get_cpu_cacheinfo()
156 static int cache_setup_of_node(unsigned int cpu) in cache_setup_of_node()
198 static inline int cache_setup_of_node(unsigned int cpu) { return 0; } in cache_setup_of_node()
211 int __weak cache_setup_acpi(unsigned int cpu) in cache_setup_acpi()
218 static int cache_shared_cpu_map_setup(unsigned int cpu) in cache_shared_cpu_map_setup()
264 static void cache_shared_cpu_map_remove(unsigned int cpu) in cache_shared_cpu_map_remove()
291 static void free_cache_attributes(unsigned int cpu) in free_cache_attributes()
303 int __weak init_cache_level(unsigned int cpu) in init_cache_level()
308 int __weak populate_cache_leaves(unsigned int cpu) in populate_cache_leaves()
313 static int detect_cache_attributes(unsigned int cpu) in detect_cache_attributes()
352 #define per_cpu_cache_dev(cpu) (per_cpu(ci_cache_dev, cpu)) argument
358 #define per_cpu_index_dev(cpu) (per_cpu(ci_index_dev, cpu)) argument
359 #define per_cache_index_dev(cpu, idx) ((per_cpu_index_dev(cpu))[idx]) argument
568 static void cpu_cache_sysfs_exit(unsigned int cpu) in cpu_cache_sysfs_exit()
587 static int cpu_cache_sysfs_init(unsigned int cpu) in cpu_cache_sysfs_init()
611 static int cache_add_dev(unsigned int cpu) in cache_add_dev()
648 static int cacheinfo_cpu_online(unsigned int cpu) in cacheinfo_cpu_online()
660 static int cacheinfo_cpu_pre_down(unsigned int cpu) in cacheinfo_cpu_pre_down()