Home
last modified time | relevance | path

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

/linux/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/arch/s390/kernel/
H 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/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/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()