Home
last modified time | relevance | path

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

/linux-2.6.39/arch/ia64/kernel/
Dtopology.c133 int num_cache_leaves; member
303 all_cpu_cache_info[cpu].num_cache_leaves = 0; in cpu_cache_sysfs_exit()
315 int num_cache_leaves = 0; in cpu_cache_sysfs_init() local
333 this_cache[num_cache_leaves].cci = cci; in cpu_cache_sysfs_init()
334 this_cache[num_cache_leaves].level = i + 1; in cpu_cache_sysfs_init()
335 this_cache[num_cache_leaves].type = j; in cpu_cache_sysfs_init()
338 &this_cache[num_cache_leaves]); in cpu_cache_sysfs_init()
339 num_cache_leaves ++; in cpu_cache_sysfs_init()
344 all_cpu_cache_info[cpu].num_cache_leaves = num_cache_leaves; in cpu_cache_sysfs_init()
381 for (i = 0; i < all_cpu_cache_info[cpu].num_cache_leaves; i++) { in cache_add_dev()
[all …]
/linux-2.6.39/arch/x86/kernel/cpu/
Dintel_cacheinfo.c178 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()
[all …]
Damd.c573 num_cache_leaves = 4; in init_amd()
575 num_cache_leaves = 3; in init_amd()
/linux-2.6.39/arch/x86/include/asm/
Dprocessor.h168 extern unsigned short num_cache_leaves;