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
28 #define per_cpu_cacheinfo_idx(cpu, idx) \ argument
31 struct cpu_cacheinfo *get_cpu_cacheinfo(unsigned int cpu) in get_cpu_cacheinfo()
54 bool last_level_cache_is_valid(unsigned int cpu) in last_level_cache_is_valid()
197 static int cache_setup_of_node(unsigned int cpu) in cache_setup_of_node()
228 static inline int cache_setup_of_node(unsigned int cpu) { return 0; } in cache_setup_of_node()
231 int __weak cache_setup_acpi(unsigned int cpu) in cache_setup_acpi()
238 static int cache_setup_properties(unsigned int cpu) in cache_setup_properties()
250 static int cache_shared_cpu_map_setup(unsigned int cpu) in cache_shared_cpu_map_setup()
297 static void cache_shared_cpu_map_remove(unsigned int cpu) in cache_shared_cpu_map_remove()
320 static void free_cache_attributes(unsigned int cpu) in free_cache_attributes()
332 int __weak init_cache_level(unsigned int cpu) in init_cache_level()
337 int __weak populate_cache_leaves(unsigned int cpu) in populate_cache_leaves()
342 int detect_cache_attributes(unsigned int cpu) in detect_cache_attributes()
394 #define per_cpu_cache_dev(cpu) (per_cpu(ci_cache_dev, cpu)) argument
400 #define per_cpu_index_dev(cpu) (per_cpu(ci_index_dev, cpu)) argument
401 #define per_cache_index_dev(cpu, idx) ((per_cpu_index_dev(cpu))[idx]) argument
610 static void cpu_cache_sysfs_exit(unsigned int cpu) in cpu_cache_sysfs_exit()
629 static int cpu_cache_sysfs_init(unsigned int cpu) in cpu_cache_sysfs_init()
653 static int cache_add_dev(unsigned int cpu) in cache_add_dev()
689 static int cacheinfo_cpu_online(unsigned int cpu) in cacheinfo_cpu_online()
701 static int cacheinfo_cpu_pre_down(unsigned int cpu) in cacheinfo_cpu_pre_down()