Home
last modified time | relevance | path

Searched refs:this_cpu_ci (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/kernel/
Dcache.c70 struct cpu_cacheinfo *this_cpu_ci; in show_cacheinfo() local
76 this_cpu_ci = get_cpu_cacheinfo(cpumask_any(cpu_online_mask)); in show_cacheinfo()
77 for (idx = 0; idx < this_cpu_ci->num_leaves; idx++) { in show_cacheinfo()
78 cache = this_cpu_ci->info_list + idx; in show_cacheinfo()
130 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
137 if (!this_cpu_ci) in init_cache_level()
147 this_cpu_ci->num_levels = level; in init_cache_level()
148 this_cpu_ci->num_leaves = leaves; in init_cache_level()
154 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
155 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
[all …]
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dcacheinfo.c29 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
32 this_cpu_ci->num_levels = 1; in init_cache_level()
33 this_cpu_ci->num_leaves = 2; in init_cache_level()
40 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
41 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
43 for (idx = 0, level = 1; level <= this_cpu_ci->num_levels && in populate_cache_leaves()
44 idx < this_cpu_ci->num_leaves; idx++, level++) { in populate_cache_leaves()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcacheinfo.c50 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
80 this_cpu_ci->num_levels = level; in init_cache_level()
81 this_cpu_ci->num_leaves = leaves; in init_cache_level()
89 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
90 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
92 for (idx = 0, level = 1; level <= this_cpu_ci->num_levels && in populate_cache_leaves()
93 idx < this_cpu_ci->num_leaves; idx++, level++) { in populate_cache_leaves()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dcacheinfo.c38 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(raw_smp_processor_id()); in get_cacheinfo() local
42 for (index = 0; index < this_cpu_ci->num_leaves; index++) { in get_cacheinfo()
43 this_leaf = this_cpu_ci->info_list + index; in get_cacheinfo()
118 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
152 this_cpu_ci->num_levels = levels; in init_cache_level()
153 this_cpu_ci->num_leaves = leaves; in init_cache_level()
160 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
161 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dcacheinfo.c23 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
48 this_cpu_ci->num_levels = levels; in init_cache_level()
49 this_cpu_ci->num_leaves = leaves; in init_cache_level()
75 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
76 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
97 this_cpu_ci->cpu_map_populated = true; in populate_cache_leaves()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dcacheinfo.c880 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in __cache_amd_cpumap_setup() local
890 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
891 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
893 this_leaf = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
910 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
911 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
918 this_leaf = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
937 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in __cache_cpumap_setup() local
949 this_leaf = this_cpu_ci->info_list + index; in __cache_cpumap_setup()
990 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
[all …]
/kernel/linux/linux-5.10/drivers/base/
Dcacheinfo.c161 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_setup_of_node() local
165 if (this_cpu_ci->info_list->fw_token) { in cache_setup_of_node()
180 this_leaf = this_cpu_ci->info_list + index; in cache_setup_of_node()
220 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_shared_cpu_map_setup() local
225 if (this_cpu_ci->cpu_map_populated) in cache_shared_cpu_map_setup()
239 this_leaf = this_cpu_ci->info_list + index; in cache_shared_cpu_map_setup()
266 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_shared_cpu_map_remove() local
271 this_leaf = this_cpu_ci->info_list + index; in cache_shared_cpu_map_remove()
616 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_add_dev() local
625 this_leaf = this_cpu_ci->info_list + i; in cache_add_dev()
/kernel/linux/linux-5.10/drivers/acpi/
Dpptt.c414 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_setup_acpi_cpu() local
421 this_leaf = this_cpu_ci->info_list + index; in cache_setup_acpi_cpu()