Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/arch/riscv/kernel/
Dcacheinfo.c37 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(raw_smp_processor_id()); in get_cacheinfo() local
41 for (index = 0; index < this_cpu_ci->num_leaves; index++) { in get_cacheinfo()
42 this_leaf = this_cpu_ci->info_list + index; in get_cacheinfo()
76 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
77 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
/linux-6.6.21/arch/x86/kernel/cpu/
Dcacheinfo.c893 struct cpu_cacheinfo *this_cpu_ci; in __cache_amd_cpumap_setup() local
903 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
904 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
906 this_leaf = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
923 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
924 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
931 this_leaf = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
950 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in __cache_cpumap_setup() local
962 this_leaf = this_cpu_ci->info_list + index; in __cache_cpumap_setup()
1003 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
[all …]
/linux-6.6.21/drivers/base/
Dcacheinfo.c289 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_of_cache_level() local
319 this_cpu_ci->num_levels = levels; in init_of_cache_level()
320 this_cpu_ci->num_leaves = leaves; in init_of_cache_level()
359 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_shared_cpu_map_setup() local
364 if (this_cpu_ci->cpu_map_populated) in cache_shared_cpu_map_setup()
414 this_cpu_ci->cpu_map_populated = true; in cache_shared_cpu_map_setup()
420 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_shared_cpu_map_remove() local
455 this_cpu_ci->cpu_map_populated = false; in cache_shared_cpu_map_remove()
496 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in fetch_cache_info() local
505 this_cpu_ci->num_levels = levels; in fetch_cache_info()
[all …]
/linux-6.6.21/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()