Searched refs:num_cache_leaves (Results 1 – 2 of 2) sorted by relevance
130 int num_cache_leaves; member299 all_cpu_cache_info[cpu].num_cache_leaves = 0; in cpu_cache_sysfs_exit()311 int num_cache_leaves = 0; in cpu_cache_sysfs_init() local329 this_cache[num_cache_leaves].cci = cci; in cpu_cache_sysfs_init()330 this_cache[num_cache_leaves].level = i + 1; in cpu_cache_sysfs_init()331 this_cache[num_cache_leaves].type = j; in cpu_cache_sysfs_init()334 &this_cache[num_cache_leaves]); in cpu_cache_sysfs_init()335 num_cache_leaves ++; in cpu_cache_sysfs_init()340 all_cpu_cache_info[cpu].num_cache_leaves = num_cache_leaves; in cpu_cache_sysfs_init()371 for (i = 0; i < all_cpu_cache_info[cpu].num_cache_leaves; i++) { in cache_add_dev()[all …]
166 static unsigned short num_cache_leaves; variable707 num_cache_leaves = find_num_cache_leaves(c); in init_amd_cacheinfo()710 num_cache_leaves = 4; in init_amd_cacheinfo()712 num_cache_leaves = 3; in init_amd_cacheinfo()718 num_cache_leaves = find_num_cache_leaves(c); in init_hygon_cacheinfo()737 num_cache_leaves = find_num_cache_leaves(c); in init_intel_cacheinfo()745 for (i = 0; i < num_cache_leaves; i++) { in init_intel_cacheinfo()781 if ((num_cache_leaves == 0 || c->x86 == 15) && c->cpuid_level > 1) { in init_intel_cacheinfo()788 if (num_cache_leaves != 0 && c->x86 == 15) in init_intel_cacheinfo()992 if (!num_cache_leaves) in init_cache_level()[all …]