Home
last modified time | relevance | path

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

/linux-5.19.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()
300 cache_leaves(cpu) = 0; in free_cache_attributes()
317 if (init_cache_level(cpu) || !cache_leaves(cpu)) in detect_cache_attributes()
320 per_cpu_cacheinfo(cpu) = kcalloc(cache_leaves(cpu), in detect_cache_attributes()
574 for (i = 0; i < cache_leaves(cpu); i++) { in cpu_cache_sysfs_exit()
599 per_cpu_index_dev(cpu) = kcalloc(cache_leaves(cpu), in cpu_cache_sysfs_init()
[all …]
/linux-5.19.10/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()