Searched refs:processor_index (Results 1 – 3 of 3) sorted by relevance
/external/cpuinfo/src/x86/linux/ |
D | cpuinfo.c | 73 uint32_t processor_index; member 144 const uint32_t processor_index = state->processor_index; in parse_line() local 148 if (processor_index < max_processors_count) { in parse_line() 149 processor = &processors[processor_index]; in parse_line() 164 if (new_processor_index < processor_index) { in parse_line() 168 new_processor_index, processor_index); in parse_line() 169 } else if (new_processor_index > processor_index + 1) { in parse_line() 173 new_processor_index, processor_index); in parse_line() 182 state->processor_index = new_processor_index; in parse_line() 201 .processor_index = 0, in cpuinfo_x86_linux_parse_proc_cpuinfo()
|
D | init.c | 349 …uint32_t processor_index = UINT32_MAX, core_index = UINT32_MAX, cluster_index = UINT32_MAX, packag… in cpuinfo_x86_linux_init() local 358 processor_index++; 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() 393 .processor_start = processor_index, in cpuinfo_x86_linux_init() 412 clusters[cluster_index].processor_start = processor_index; in cpuinfo_x86_linux_init() [all …]
|
/external/cpuinfo/src/arm/linux/ |
D | cpuinfo.c | 635 uint32_t processor_index; member 725 const uint32_t processor_index = state->processor_index; in parse_line() local 729 if (processor_index < max_processors_count) { in parse_line() 730 processor = &processors[processor_index]; in parse_line() 813 if (new_processor_index < processor_index) { in parse_line() 817 new_processor_index, processor_index); in parse_line() 818 } else if (new_processor_index > processor_index + 1) { in parse_line() 822 new_processor_index, processor_index); in parse_line() 832 state->processor_index = new_processor_index; in parse_line() 902 .processor_index = 0, in cpuinfo_arm_linux_parse_proc_cpuinfo()
|