Searched refs:num_cache_leaves (Results 1 – 2 of 2) sorted by relevance
134 int num_cache_leaves; member303 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() local333 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 …]
160 static unsigned short num_cache_leaves; variable641 num_cache_leaves = find_num_cache_leaves(c); in init_amd_cacheinfo()644 num_cache_leaves = 4; in init_amd_cacheinfo()646 num_cache_leaves = 3; in init_amd_cacheinfo()666 num_cache_leaves = find_num_cache_leaves(c); in init_intel_cacheinfo()674 for (i = 0; i < num_cache_leaves; i++) { in init_intel_cacheinfo()710 if ((num_cache_leaves == 0 || c->x86 == 15) && c->cpuid_level > 1) { in init_intel_cacheinfo()717 if (num_cache_leaves != 0 && c->x86 == 15) in init_intel_cacheinfo()914 if (!num_cache_leaves) in __init_cache_level()919 this_cpu_ci->num_leaves = num_cache_leaves; in __init_cache_level()