Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kernel/
Dcacheinfo.c61 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in early_cache_level() local
63 detect_cache_level(&this_cpu_ci->num_levels, &this_cpu_ci->num_leaves); in early_cache_level()
72 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
94 this_cpu_ci->num_levels = level; in init_cache_level()
95 this_cpu_ci->num_leaves = leaves; in init_cache_level()
103 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
104 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
106 for (idx = 0, level = 1; level <= this_cpu_ci->num_levels && in populate_cache_leaves()
107 idx < this_cpu_ci->num_leaves; idx++, level++) { in populate_cache_leaves()
/linux-6.12.1/arch/s390/kernel/
Dcache.c69 struct cpu_cacheinfo *this_cpu_ci; in show_cacheinfo() local
73 this_cpu_ci = get_cpu_cacheinfo(cpumask_any(cpu_online_mask)); in show_cacheinfo()
74 for (idx = 0; idx < this_cpu_ci->num_leaves; idx++) { in show_cacheinfo()
75 cache = this_cpu_ci->info_list + idx; in show_cacheinfo()
127 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
132 if (!this_cpu_ci) in init_cache_level()
142 this_cpu_ci->num_levels = level; in init_cache_level()
143 this_cpu_ci->num_leaves = leaves; in init_cache_level()
149 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
150 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
[all …]
/linux-6.12.1/arch/loongarch/kernel/
Dcacheinfo.c15 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
17 this_cpu_ci->num_levels = in init_cache_level()
19 this_cpu_ci->num_leaves = cache_present; in init_cache_level()
35 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_cpumap_setup() local
37 for (index = 0; index < this_cpu_ci->num_leaves; index++) { in cache_cpumap_setup()
40 this_leaf = this_cpu_ci->info_list + index; in cache_cpumap_setup()
65 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
66 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
83 this_cpu_ci->cpu_map_populated = true; in populate_cache_leaves()
/linux-6.12.1/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()
81 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
82 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
94 (split_levels + fw_levels > this_cpu_ci->num_leaves)); in populate_cache_leaves()
96 for (; level <= this_cpu_ci->num_levels; level++) { in populate_cache_leaves()
/linux-6.12.1/arch/mips/kernel/
Dcacheinfo.c23 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
53 this_cpu_ci->num_levels = levels; in init_cache_level()
54 this_cpu_ci->num_leaves = leaves; in init_cache_level()
80 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
81 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
113 this_cpu_ci->cpu_map_populated = true; in populate_cache_leaves()
/linux-6.12.1/arch/x86/kernel/cpu/
Dcacheinfo.c884 struct cpu_cacheinfo *this_cpu_ci; in __cache_amd_cpumap_setup() local
894 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
895 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
897 this_leaf = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
914 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
915 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
922 this_leaf = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
941 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in __cache_cpumap_setup() local
953 this_leaf = this_cpu_ci->info_list + index; in __cache_cpumap_setup()
994 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
[all …]
/linux-6.12.1/drivers/base/
Dcacheinfo.c279 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_of_cache_level() local
308 this_cpu_ci->num_levels = levels; in init_of_cache_level()
309 this_cpu_ci->num_leaves = leaves; in init_of_cache_level()
344 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_shared_cpu_map_setup() local
349 if (this_cpu_ci->cpu_map_populated) in cache_shared_cpu_map_setup()
399 this_cpu_ci->cpu_map_populated = true; in cache_shared_cpu_map_setup()
405 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_shared_cpu_map_remove() local
440 this_cpu_ci->cpu_map_populated = false; in cache_shared_cpu_map_remove()
481 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in fetch_cache_info() local
490 this_cpu_ci->num_levels = levels; in fetch_cache_info()
[all …]
/linux-6.12.1/drivers/acpi/
Dpptt.c424 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_setup_acpi_cpu() local
431 this_leaf = this_cpu_ci->info_list + index; in cache_setup_acpi_cpu()