Home
last modified time | relevance | path

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

/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 …]