Home
last modified time | relevance | path

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

/linux-3.4.99/arch/ia64/kernel/
Dtopology.c134 int num_cache_leaves; member
305 all_cpu_cache_info[cpu].num_cache_leaves = 0; in cpu_cache_sysfs_exit()
317 int num_cache_leaves = 0; in cpu_cache_sysfs_init() local
335 this_cache[num_cache_leaves].cci = cci; in cpu_cache_sysfs_init()
336 this_cache[num_cache_leaves].level = i + 1; in cpu_cache_sysfs_init()
337 this_cache[num_cache_leaves].type = j; in cpu_cache_sysfs_init()
340 &this_cache[num_cache_leaves]); in cpu_cache_sysfs_init()
341 num_cache_leaves ++; in cpu_cache_sysfs_init()
346 all_cpu_cache_info[cpu].num_cache_leaves = num_cache_leaves; in cpu_cache_sysfs_init()
383 for (i = 0; i < all_cpu_cache_info[cpu].num_cache_leaves; i++) { in cache_add_dev()
[all …]
/linux-3.4.99/arch/x86/kernel/cpu/
Dintel_cacheinfo.c167 unsigned short num_cache_leaves; variable
591 num_cache_leaves = find_num_cache_leaves(); in init_intel_cacheinfo()
599 for (i = 0; i < num_cache_leaves; i++) { in init_intel_cacheinfo()
637 if ((num_cache_leaves == 0 || c->x86 == 15) && c->cpuid_level > 1) { in init_intel_cacheinfo()
644 if (num_cache_leaves != 0 && c->x86 == 15) in init_intel_cacheinfo()
825 for (i = 0; i < num_cache_leaves; i++) in free_cache_attributes()
837 for (j = 0; j < num_cache_leaves; j++) { in get_cpu_leaves()
856 if (num_cache_leaves == 0) in detect_cache_attributes()
860 sizeof(struct _cpuid4_info) * num_cache_leaves, GFP_KERNEL); in detect_cache_attributes()
1075 if (num_cache_leaves == 0) in cpuid4_cache_sysfs_init()
[all …]
Damd.c643 num_cache_leaves = 4; in init_amd()
645 num_cache_leaves = 3; in init_amd()
/linux-3.4.99/arch/x86/include/asm/
Dprocessor.h177 extern unsigned short num_cache_leaves;