Home
last modified time | relevance | path

Searched refs:cache_leaves (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/base/
Dcacheinfo.c26 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) macro
61 if (!cache_leaves(cpu)) in last_level_cache_is_valid()
64 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in last_level_cache_is_valid()
78 llc_x = per_cpu_cacheinfo_idx(cpu_x, cache_leaves(cpu_x) - 1); in last_level_cache_is_shared()
79 llc_y = per_cpu_cacheinfo_idx(cpu_y, cache_leaves(cpu_y) - 1); in last_level_cache_is_shared()
222 while (index < cache_leaves(cpu)) { in cache_setup_of_node()
238 if (index != cache_leaves(cpu)) /* not all OF nodes populated */ in cache_setup_of_node()
378 for (index = 0; index < cache_leaves(cpu); index++) { in cache_shared_cpu_map_setup()
389 for (sib_index = 0; sib_index < cache_leaves(i); sib_index++) { in cache_shared_cpu_map_setup()
424 for (index = 0; index < cache_leaves(cpu); index++) { in cache_shared_cpu_map_remove()
[all …]
/Linux-v6.6/arch/ia64/kernel/
Dtopology.c118 struct cache_info *cache_leaves; member
124 #define LEAF_KOBJECT_PTR(x,y) (&all_cpu_cache_info[x].cache_leaves[y])
287 kfree(all_cpu_cache_info[cpu].cache_leaves); in cpu_cache_sysfs_exit()
288 all_cpu_cache_info[cpu].cache_leaves = NULL; in cpu_cache_sysfs_exit()
329 all_cpu_cache_info[cpu].cache_leaves = this_cache; in cpu_cache_sysfs_init()
/Linux-v6.6/arch/loongarch/mm/
Dcache.c48 struct cache_desc *cdesc = current_cpu_data.cache_leaves + leaf; in flush_cache_leaf()
69 struct cache_desc *cdesc = current_cpu_data.cache_leaves; in __flush_cache_all()
119 struct cache_desc *cdesc = current_cpu_data.cache_leaves; in cpu_cache_init()
/Linux-v6.6/arch/loongarch/kernel/
Dcacheinfo.c18 current_cpu_data.cache_leaves[cache_present - 1].level; in init_cache_level()
67 struct cache_desc *cd, *cdesc = current_cpu_data.cache_leaves; in populate_cache_leaves()
/Linux-v6.6/arch/loongarch/include/asm/
Dcacheflush.h31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz; in cpu_last_level_cache_line_size()
Dcpu-info.h54 struct cache_desc cache_leaves[CACHE_LEAVES_MAX]; member