Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/base/
Dcacheinfo.c26 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) macro
58 if (!cache_leaves(cpu)) in last_level_cache_is_valid()
61 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in last_level_cache_is_valid()
75 llc_x = per_cpu_cacheinfo_idx(cpu_x, cache_leaves(cpu_x) - 1); in last_level_cache_is_shared()
76 llc_y = per_cpu_cacheinfo_idx(cpu_y, cache_leaves(cpu_y) - 1); in last_level_cache_is_shared()
209 while (index < cache_leaves(cpu)) { in cache_setup_of_node()
222 if (index != cache_leaves(cpu)) /* not all OF nodes populated */ in cache_setup_of_node()
271 for (index = 0; index < cache_leaves(cpu); index++) { in cache_shared_cpu_map_setup()
302 for (index = 0; index < cache_leaves(cpu); index++) { in cache_shared_cpu_map_remove()
329 cache_leaves(cpu) = 0; in free_cache_attributes()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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