• Home
  • Raw
  • Download

Lines Matching full:processors

34 	/* Move usable processors towards the start of the array */  in cmp_x86_linux_processor()
146 struct cpuinfo_processor* processors = NULL; in cpuinfo_x86_linux_init() local
159 cpuinfo_log_debug("system maximum processors count: %"PRIu32, max_processors_count); in cpuinfo_x86_linux_init()
163 cpuinfo_log_debug("maximum possible processors count: %"PRIu32, max_possible_processors_count); in cpuinfo_x86_linux_init()
166 cpuinfo_log_debug("maximum present processors count: %"PRIu32, max_present_processors_count); in cpuinfo_x86_linux_init()
184 "failed to allocate %zu bytes for descriptions of %"PRIu32" x86 logical processors", in cpuinfo_x86_linux_init()
232 processors = calloc(processors_count, sizeof(struct cpuinfo_processor)); in cpuinfo_x86_linux_init()
233 if (processors == NULL) { in cpuinfo_x86_linux_init()
234 cpuinfo_log_error("failed to allocate %zu bytes for descriptions of %"PRIu32" logical processors", in cpuinfo_x86_linux_init()
266 …uinfo_log_error("failed to allocate %zu bytes for mapping entries of %"PRIu32" logical processors", in cpuinfo_x86_linux_init()
383 processors[processor_index].smt_id = smt_id; in cpuinfo_x86_linux_init()
384 processors[processor_index].core = cores + core_index; in cpuinfo_x86_linux_init()
385 processors[processor_index].cluster = clusters + cluster_index; in cpuinfo_x86_linux_init()
386 processors[processor_index].package = packages + package_index; in cpuinfo_x86_linux_init()
387 processors[processor_index].linux_id = x86_linux_processors[i].linux_id; in cpuinfo_x86_linux_init()
388 processors[processor_index].apic_id = x86_linux_processors[i].apic_id; in cpuinfo_x86_linux_init()
440 linux_cpu_to_processor_map[x86_linux_processors[i].linux_id] = processors + processor_index; in cpuinfo_x86_linux_init()
445 processors[i].cache.l1i = &l1i[l1i_index]; in cpuinfo_x86_linux_init()
463 processors[i].cache.l1i = &l1i[l1i_index]; in cpuinfo_x86_linux_init()
470 processors[i].cache.l1d = &l1d[l1d_index]; in cpuinfo_x86_linux_init()
488 processors[i].cache.l1d = &l1d[l1d_index]; in cpuinfo_x86_linux_init()
495 processors[i].cache.l2 = &l2[l2_index]; in cpuinfo_x86_linux_init()
513 processors[i].cache.l2 = &l2[l2_index]; in cpuinfo_x86_linux_init()
520 processors[i].cache.l3 = &l3[l3_index]; in cpuinfo_x86_linux_init()
538 processors[i].cache.l3 = &l3[l3_index]; in cpuinfo_x86_linux_init()
545 processors[i].cache.l4 = &l4[l4_index]; in cpuinfo_x86_linux_init()
563 processors[i].cache.l4 = &l4[l4_index]; in cpuinfo_x86_linux_init()
572 cpuinfo_processors = processors; in cpuinfo_x86_linux_init()
591 cpuinfo_max_cache_size = cpuinfo_compute_max_cache_size(&processors[0]); in cpuinfo_x86_linux_init()
608 processors = NULL; in cpuinfo_x86_linux_init()
618 free(processors); in cpuinfo_x86_linux_init()