Lines Matching full:processors
21 struct cpuinfo_processor* processors = NULL; in cpuinfo_x86_mach_init() local
32 processors = calloc(mach_topology.threads, sizeof(struct cpuinfo_processor)); in cpuinfo_x86_mach_init()
33 if (processors == NULL) { in cpuinfo_x86_mach_init()
34 cpuinfo_log_error("failed to allocate %zu bytes for descriptions of %"PRIu32" logical processors", in cpuinfo_x86_mach_init()
116 processors[i].smt_id = smt_id; in cpuinfo_x86_mach_init()
117 processors[i].core = cores + i / threads_per_core; in cpuinfo_x86_mach_init()
118 processors[i].cluster = clusters + i / threads_per_package; in cpuinfo_x86_mach_init()
119 processors[i].package = packages + i / threads_per_package; in cpuinfo_x86_mach_init()
120 processors[i].apic_id = apic_id; in cpuinfo_x86_mach_init()
207 processors[t].cache.l1i = &l1i[t / threads_per_l1]; in cpuinfo_x86_mach_init()
231 processors[t].cache.l1d = &l1d[t / threads_per_l1]; in cpuinfo_x86_mach_init()
255 processors[t].cache.l2 = &l2[t / threads_per_l2]; in cpuinfo_x86_mach_init()
279 processors[t].cache.l3 = &l3[t / threads_per_l3]; in cpuinfo_x86_mach_init()
303 processors[t].cache.l4 = &l4[t / threads_per_l4]; in cpuinfo_x86_mach_init()
308 cpuinfo_processors = processors; in cpuinfo_x86_mach_init()
327 cpuinfo_max_cache_size = cpuinfo_compute_max_cache_size(&processors[0]); in cpuinfo_x86_mach_init()
340 processors = NULL; in cpuinfo_x86_mach_init()
347 free(processors); in cpuinfo_x86_mach_init()