Home
last modified time | relevance | path

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

/openbmc/linux/arch/ia64/kernel/
H A Dtopology.c119 int num_cache_leaves; member
289 all_cpu_cache_info[cpu].num_cache_leaves = 0; in cpu_cache_sysfs_exit()
301 int num_cache_leaves = 0; in cpu_cache_sysfs_init() local
319 this_cache[num_cache_leaves].cci = cci; in cpu_cache_sysfs_init()
320 this_cache[num_cache_leaves].level = i + 1; in cpu_cache_sysfs_init()
321 this_cache[num_cache_leaves].type = j; in cpu_cache_sysfs_init()
324 &this_cache[num_cache_leaves]); in cpu_cache_sysfs_init()
325 num_cache_leaves ++; in cpu_cache_sysfs_init()
330 all_cpu_cache_info[cpu].num_cache_leaves = num_cache_leaves; in cpu_cache_sysfs_init()
361 for (i = 0; i < all_cpu_cache_info[cpu].num_cache_leaves; i++) { in cache_add_dev()
[all …]
/openbmc/linux/arch/x86/kernel/cpu/
H A Dcacheinfo.c181 static unsigned short num_cache_leaves; variable
722 num_cache_leaves = find_num_cache_leaves(c); in init_amd_cacheinfo()
725 num_cache_leaves = 4; in init_amd_cacheinfo()
727 num_cache_leaves = 3; in init_amd_cacheinfo()
733 num_cache_leaves = find_num_cache_leaves(c); in init_hygon_cacheinfo()
752 num_cache_leaves = find_num_cache_leaves(c); in init_intel_cacheinfo()
760 for (i = 0; i < num_cache_leaves; i++) { in init_intel_cacheinfo()
796 if ((num_cache_leaves == 0 || c->x86 == 15) && c->cpuid_level > 1) { in init_intel_cacheinfo()
803 if (num_cache_leaves != 0 && c->x86 == 15) in init_intel_cacheinfo()
1005 if (!num_cache_leaves) in init_cache_level()
[all …]