Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/base/
Dcacheinfo.c26 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) macro
179 while (index < cache_leaves(cpu)) { in cache_setup_of_node()
192 if (index != cache_leaves(cpu)) /* not all OF nodes populated */ in cache_setup_of_node()
236 for (index = 0; index < cache_leaves(cpu); index++) { in cache_shared_cpu_map_setup()
270 for (index = 0; index < cache_leaves(cpu); index++) { in cache_shared_cpu_map_remove()
316 if (init_cache_level(cpu) || !cache_leaves(cpu)) in detect_cache_attributes()
319 per_cpu_cacheinfo(cpu) = kcalloc(cache_leaves(cpu), in detect_cache_attributes()
573 for (i = 0; i < cache_leaves(cpu); i++) { in cpu_cache_sysfs_exit()
598 per_cpu_index_dev(cpu) = kcalloc(cache_leaves(cpu), in cpu_cache_sysfs_init()
624 for (i = 0; i < cache_leaves(cpu); i++) { in cache_add_dev()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dtopology.c129 struct cache_info *cache_leaves; member
135 #define LEAF_KOBJECT_PTR(x,y) (&all_cpu_cache_info[x].cache_leaves[y])
297 kfree(all_cpu_cache_info[cpu].cache_leaves); in cpu_cache_sysfs_exit()
298 all_cpu_cache_info[cpu].cache_leaves = NULL; in cpu_cache_sysfs_exit()
339 all_cpu_cache_info[cpu].cache_leaves = this_cache; in cpu_cache_sysfs_init()