Lines Matching refs:num_cache_leaves
178 unsigned short num_cache_leaves; variable
627 num_cache_leaves = find_num_cache_leaves(); in init_intel_cacheinfo()
635 for (i = 0; i < num_cache_leaves; i++) { in init_intel_cacheinfo()
673 if ((num_cache_leaves == 0 || c->x86 == 15) && c->cpuid_level > 1) { in init_intel_cacheinfo()
680 if (num_cache_leaves != 0 && c->x86 == 15) in init_intel_cacheinfo()
832 for (i = 0; i < num_cache_leaves; i++) in free_cache_attributes()
854 for (j = 0; j < num_cache_leaves; j++) { in get_cpu_leaves()
873 if (num_cache_leaves == 0) in detect_cache_attributes()
877 sizeof(struct _cpuid4_info) * num_cache_leaves, GFP_KERNEL); in detect_cache_attributes()
1093 if (num_cache_leaves == 0) in cpuid4_cache_sysfs_init()
1107 sizeof(struct _index_kobject) * num_cache_leaves, GFP_KERNEL); in cpuid4_cache_sysfs_init()
1141 for (i = 0; i < num_cache_leaves; i++) { in cache_add_dev()
1183 for (i = 0; i < num_cache_leaves; i++) in cache_remove_dev()
1217 if (num_cache_leaves == 0) in cache_sysfs_init()