Searched refs:threads_per_l2 (Results 1 – 2 of 2) sorted by relevance
136 uint32_t threads_per_l2 = 0, l2_count = 0; in cpuinfo_x86_mach_init() local138 threads_per_l2 = mach_topology.threads_per_cache[2]; in cpuinfo_x86_mach_init()139 if (threads_per_l2 == 0) { in cpuinfo_x86_mach_init()142 threads_per_l2 = mach_topology.threads / mach_topology.cores; in cpuinfo_x86_mach_init()145 threads_per_l2 = mach_topology.threads / mach_topology.packages; in cpuinfo_x86_mach_init()148 threads_per_l2); in cpuinfo_x86_mach_init()150 l2_count = mach_topology.threads / threads_per_l2; in cpuinfo_x86_mach_init()250 .processor_start = c * threads_per_l2, in cpuinfo_x86_mach_init()251 .processor_count = threads_per_l2, in cpuinfo_x86_mach_init()255 processors[t].cache.l2 = &l2[t / threads_per_l2]; in cpuinfo_x86_mach_init()
464 uint32_t threads_per_l2 = 0, l2_count = 0; in cpuinfo_arm_mach_init() local467 threads_per_l2 = mach_topology.cores; in cpuinfo_arm_mach_init()543 .processor_start = c * threads_per_l2, in cpuinfo_arm_mach_init()544 .processor_count = threads_per_l2, in cpuinfo_arm_mach_init()