Home
last modified time | relevance | path

Searched refs:linux_cpu_to_processor_map (Results 1 – 2 of 2) sorted by relevance

/external/cpuinfo/src/x86/linux/
Dinit.c150 const struct cpuinfo_processor** linux_cpu_to_processor_map = NULL; in cpuinfo_x86_linux_init() local
264 linux_cpu_to_processor_map = calloc(x86_linux_processors_count, sizeof(struct cpuinfo_processor*)); in cpuinfo_x86_linux_init()
265 if (linux_cpu_to_processor_map == NULL) { 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()
601 cpuinfo_linux_cpu_to_processor_map = linux_cpu_to_processor_map; in cpuinfo_x86_linux_init()
613 linux_cpu_to_processor_map = NULL; in cpuinfo_x86_linux_init()
627 free(linux_cpu_to_processor_map); in cpuinfo_x86_linux_init()
/external/cpuinfo/src/arm/linux/
Dinit.c114 const struct cpuinfo_processor** linux_cpu_to_processor_map = NULL; in cpuinfo_arm_linux_init() local
457 linux_cpu_to_processor_map = calloc(arm_linux_processors_count, sizeof(struct cpuinfo_processor*)); in cpuinfo_arm_linux_init()
458 if (linux_cpu_to_processor_map == NULL) { in cpuinfo_arm_linux_init()
537 linux_cpu_to_processor_map[arm_linux_processors[i].system_processor_id] = &processors[i]; in cpuinfo_arm_linux_init()
735 cpuinfo_linux_cpu_to_processor_map = linux_cpu_to_processor_map; in cpuinfo_arm_linux_init()
748 linux_cpu_to_processor_map = NULL; in cpuinfo_arm_linux_init()
762 free(linux_cpu_to_processor_map); in cpuinfo_arm_linux_init()