Lines Matching refs:uarchs
125 struct cpuinfo_uarch_info* uarchs = NULL; in cpu_info_init_by_logical_sys_info() local
279 uarchs = HeapAlloc(heap, HEAP_ZERO_MEMORY, nr_of_uarchs * sizeof(struct cpuinfo_uarch_info)); in cpu_info_init_by_logical_sys_info()
280 if (uarchs == NULL) { in cpu_info_init_by_logical_sys_info()
289 uarchs[uarch_counter].uarch = cores[i].uarch; in cpu_info_init_by_logical_sys_info()
290 uarchs[uarch_counter].core_count = 1; in cpu_info_init_by_logical_sys_info()
291 uarchs[uarch_counter].processor_count = cores[i].processor_count; in cpu_info_init_by_logical_sys_info()
294 uarchs[uarch_counter].core_count++; in cpu_info_init_by_logical_sys_info()
295 uarchs[uarch_counter].processor_count += cores[i].processor_count; in cpu_info_init_by_logical_sys_info()
304 cpuinfo_uarchs = uarchs; in cpu_info_init_by_logical_sys_info()
330 uarchs = NULL; in cpu_info_init_by_logical_sys_info()
351 if (uarchs != NULL) { in cpu_info_init_by_logical_sys_info()
352 HeapFree(heap, 0, uarchs); in cpu_info_init_by_logical_sys_info()