Home
last modified time | relevance | path

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

/linux-6.15/arch/arm64/kernel/
H A 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 *infos = 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; level++) { in populate_cache_leaves()
110 if (idx + 1 >= this_cpu_ci->num_leaves) in populate_cache_leaves()
/linux-6.15/arch/s390/kernel/
H A Dcache.c69 struct cpu_cacheinfo *this_cpu_ci; in show_cacheinfo() local
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()
157 idx < this_cpu_ci->num_leaves; idx++, level++) { in populate_cache_leaves()
[all …]
/linux-6.15/arch/loongarch/kernel/
H A 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()
71 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
72 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
89 this_cpu_ci->cpu_map_populated = true; in populate_cache_leaves()
/linux-6.15/arch/arm/kernel/
H A Dcacheinfo.c116 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in early_cache_level() local
118 return detect_cache_level(&this_cpu_ci->num_levels, &this_cpu_ci->num_leaves); in early_cache_level()
124 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
144 this_cpu_ci->num_levels = level; in init_cache_level()
145 this_cpu_ci->num_leaves = leaves; in init_cache_level()
153 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
154 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
161 for (idx = 0, level = 1; level <= this_cpu_ci->num_levels && in populate_cache_leaves()
162 idx < this_cpu_ci->num_leaves; idx++, level++) { in populate_cache_leaves()
/linux-6.15/arch/riscv/kernel/
H A 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.15/arch/mips/kernel/
H A 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.15/arch/openrisc/kernel/
H A Dcacheinfo.c32 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
78 this_cpu_ci->num_leaves = leaves; in init_cache_level()
79 this_cpu_ci->num_levels = levels; in init_cache_level()
87 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
88 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
101 this_cpu_ci->cpu_map_populated = true; in populate_cache_leaves()
/linux-6.15/drivers/base/
H A 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()
397 this_cpu_ci->cpu_map_populated = true; in cache_shared_cpu_map_setup()
403 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_shared_cpu_map_remove() local
435 this_cpu_ci->cpu_map_populated = false; in cache_shared_cpu_map_remove()
483 this_cpu_ci->num_levels = levels; in fetch_cache_info()
490 this_cpu_ci->num_leaves = levels + split_levels; in fetch_cache_info()
[all …]
/linux-6.15/arch/x86/kernel/cpu/
H A Dcacheinfo.c870 struct cpu_cacheinfo *this_cpu_ci; in __cache_amd_cpumap_setup() local
880 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
881 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
883 this_leaf = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
900 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
901 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
908 this_leaf = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
939 this_leaf = this_cpu_ci->info_list + index; in __cache_cpumap_setup()
1009 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
1012 for (idx = 0; idx < this_cpu_ci->num_leaves; idx++) { in populate_cache_leaves()
[all …]
/linux-6.15/drivers/acpi/
H A Dpptt.c429 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_setup_acpi_cpu() local
436 this_leaf = this_cpu_ci->info_list + index; in cache_setup_acpi_cpu()