Searched refs:cache_leaves (Results 1 - 5 of 5) sorted by relevance

/linux-master/arch/loongarch/kernel/
H A Dcacheinfo.c18 current_cpu_data.cache_leaves[cache_present - 1].level;
67 struct cache_desc *cd, *cdesc = current_cpu_data.cache_leaves;
/linux-master/drivers/base/
H A Dcacheinfo.c26 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) macro
61 if (!cache_leaves(cpu))
64 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1);
78 llc_x = per_cpu_cacheinfo_idx(cpu_x, cache_leaves(cpu_x) - 1);
79 llc_y = per_cpu_cacheinfo_idx(cpu_y, cache_leaves(cpu_y) - 1);
222 while (index < cache_leaves(cpu)) {
238 if (index != cache_leaves(cpu)) /* not all OF nodes populated */
378 for (index = 0; index < cache_leaves(cpu); index++) {
389 for (sib_index = 0; sib_index < cache_leaves(i); sib_index++) {
424 for (index = 0; index < cache_leaves(cp
[all...]
/linux-master/arch/loongarch/include/asm/
H A Dcpu-info.h53 int cache_leaves_present; /* number of cache_leaves[] elements */
54 struct cache_desc cache_leaves[CACHE_LEAVES_MAX]; member in struct:cpuinfo_loongarch
H A Dcacheflush.h31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz;
/linux-master/arch/loongarch/mm/
H A Dcache.c48 struct cache_desc *cdesc = current_cpu_data.cache_leaves + leaf;
69 struct cache_desc *cdesc = current_cpu_data.cache_leaves;
119 struct cache_desc *cdesc = current_cpu_data.cache_leaves;

Completed in 202 milliseconds