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
34 struct cpu_cacheinfo *get_cpu_cacheinfo(unsigned int cpu) in get_cpu_cacheinfo()
57 bool last_level_cache_is_valid(unsigned int cpu) in last_level_cache_is_valid()
203 static int cache_setup_of_node(unsigned int cpu) in cache_setup_of_node()
277 int init_of_cache_level(unsigned int cpu) in init_of_cache_level()
315 static inline int cache_setup_of_node(unsigned int cpu) { return 0; } in cache_setup_of_node()
316 int init_of_cache_level(unsigned int cpu) { return 0; } in init_of_cache_level()
319 int __weak cache_setup_acpi(unsigned int cpu) in cache_setup_acpi()
326 static int cache_setup_properties(unsigned int cpu) in cache_setup_properties()
342 static int cache_shared_cpu_map_setup(unsigned int cpu) in cache_shared_cpu_map_setup()
403 static void cache_shared_cpu_map_remove(unsigned int cpu) in cache_shared_cpu_map_remove()
443 static void free_cache_attributes(unsigned int cpu) in free_cache_attributes()
451 int __weak early_cache_level(unsigned int cpu) in early_cache_level()
456 int __weak init_cache_level(unsigned int cpu) in init_cache_level()
461 int __weak populate_cache_leaves(unsigned int cpu) in populate_cache_leaves()
467 int allocate_cache_info(int cpu) in allocate_cache_info()
479 int fetch_cache_info(unsigned int cpu) in fetch_cache_info()
515 static inline int init_level_allocate_ci(unsigned int cpu) in init_level_allocate_ci()
549 int detect_cache_attributes(unsigned int cpu) in detect_cache_attributes()
591 #define per_cpu_cache_dev(cpu) (per_cpu(ci_cache_dev, cpu)) argument
597 #define per_cpu_index_dev(cpu) (per_cpu(ci_index_dev, cpu)) argument
598 #define per_cache_index_dev(cpu, idx) ((per_cpu_index_dev(cpu))[idx]) argument
807 static void cpu_cache_sysfs_exit(unsigned int cpu) in cpu_cache_sysfs_exit()
826 static int cpu_cache_sysfs_init(unsigned int cpu) in cpu_cache_sysfs_init()
850 static int cache_add_dev(unsigned int cpu) in cache_add_dev()
886 static unsigned int cpu_map_shared_cache(bool online, unsigned int cpu, in cpu_map_shared_cache()
928 static void update_per_cpu_data_slice_size_cpu(unsigned int cpu) in update_per_cpu_data_slice_size_cpu()
948 static void update_per_cpu_data_slice_size(bool cpu_online, unsigned int cpu, in update_per_cpu_data_slice_size()
961 static int cacheinfo_cpu_online(unsigned int cpu) in cacheinfo_cpu_online()
979 static int cacheinfo_cpu_pre_down(unsigned int cpu) in cacheinfo_cpu_pre_down()