Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/s390/kernel/
A 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.3-rc2/arch/loongarch/kernel/
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()
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.3-rc2/arch/arm64/kernel/
A Dcacheinfo.c45 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_cache_level() local
75 this_cpu_ci->num_levels = level; in init_cache_level()
76 this_cpu_ci->num_leaves = leaves; in init_cache_level()
84 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
85 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
87 for (idx = 0, level = 1; level <= this_cpu_ci->num_levels && in populate_cache_leaves()
88 idx < this_cpu_ci->num_leaves; idx++, level++) { in populate_cache_leaves()
/linux-6.3-rc2/arch/mips/kernel/
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.3-rc2/arch/riscv/kernel/
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()
118 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in populate_cache_leaves() local
119 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
/linux-6.3-rc2/arch/x86/kernel/cpu/
A Dcacheinfo.c891 struct cpu_cacheinfo *this_cpu_ci; in __cache_amd_cpumap_setup() local
901 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
902 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
904 this_leaf = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
921 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
922 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
960 this_leaf = this_cpu_ci->info_list + index; in __cache_cpumap_setup()
1005 if (!this_cpu_ci) in init_cache_level()
1007 this_cpu_ci->num_levels = 3; in init_cache_level()
1008 this_cpu_ci->num_leaves = num_cache_leaves; in init_cache_level()
[all …]
/linux-6.3-rc2/drivers/base/
A Dcacheinfo.c259 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in init_of_cache_level() local
284 this_cpu_ci->num_levels = levels; in init_of_cache_level()
285 this_cpu_ci->num_leaves = leaves; in init_of_cache_level()
320 struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu); in cache_shared_cpu_map_setup() local
325 if (this_cpu_ci->cpu_map_populated) in cache_shared_cpu_map_setup()
426 struct cpu_cacheinfo *this_cpu_ci; in fetch_cache_info() local
439 this_cpu_ci = get_cpu_cacheinfo(cpu); in fetch_cache_info()
440 this_cpu_ci->num_levels = levels; in fetch_cache_info()
447 this_cpu_ci->num_leaves = levels + split_levels; in fetch_cache_info()
/linux-6.3-rc2/drivers/acpi/
A 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()

Completed in 15 milliseconds