Home
last modified time | relevance | path

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

/arch/arm64/kernel/
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()
/arch/s390/kernel/
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 …]
/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()
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()
/arch/arm/kernel/
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()
/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()
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()
/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()
/arch/openrisc/kernel/
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()
/arch/x86/kernel/cpu/
A Dcacheinfo.c482 struct cpu_cacheinfo *this_cpu_ci; in __cache_amd_cpumap_setup() local
492 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
493 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
496 ci = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
512 this_cpu_ci = get_cpu_cacheinfo(i); in __cache_amd_cpumap_setup()
513 if (!this_cpu_ci->info_list) in __cache_amd_cpumap_setup()
520 ci = this_cpu_ci->info_list + index; in __cache_amd_cpumap_setup()
552 ci = this_cpu_ci->info_list + index; in __cache_cpumap_setup()
620 struct cacheinfo *ci = this_cpu_ci->info_list; in populate_cache_leaves()
626 for (idx = 0; idx < this_cpu_ci->num_leaves; idx++) { in populate_cache_leaves()
[all …]

Completed in 17 milliseconds