Home
last modified time | relevance | path

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

/external/cpuinfo/src/x86/linux/
Dinit.c151 const struct cpuinfo_core** linux_cpu_to_core_map = NULL; in cpuinfo_x86_linux_init() local
272 linux_cpu_to_core_map = calloc(x86_linux_processors_count, sizeof(struct cpuinfo_core*)); in cpuinfo_x86_linux_init()
273 if (linux_cpu_to_core_map == NULL) { in cpuinfo_x86_linux_init()
441 linux_cpu_to_core_map[x86_linux_processors[i].linux_id] = cores + core_index; in cpuinfo_x86_linux_init()
602 cpuinfo_linux_cpu_to_core_map = linux_cpu_to_core_map; in cpuinfo_x86_linux_init()
614 linux_cpu_to_core_map = NULL; in cpuinfo_x86_linux_init()
628 free(linux_cpu_to_core_map); in cpuinfo_x86_linux_init()
/external/cpuinfo/src/arm/linux/
Dinit.c115 const struct cpuinfo_core** linux_cpu_to_core_map = NULL; in cpuinfo_arm_linux_init() local
464 linux_cpu_to_core_map = calloc(arm_linux_processors_count, sizeof(struct cpuinfo_core*)); in cpuinfo_arm_linux_init()
465 if (linux_cpu_to_core_map == NULL) { in cpuinfo_arm_linux_init()
547 linux_cpu_to_core_map[arm_linux_processors[i].system_processor_id] = &cores[i]; in cpuinfo_arm_linux_init()
736 cpuinfo_linux_cpu_to_core_map = linux_cpu_to_core_map; in cpuinfo_arm_linux_init()
749 linux_cpu_to_core_map = NULL; in cpuinfo_arm_linux_init()
763 free(linux_cpu_to_core_map); in cpuinfo_arm_linux_init()