Searched refs:cores_per_package (Results 1 – 2 of 2) sorted by relevance
66 const uint32_t cores_per_package = mach_topology.cores / mach_topology.packages; in cpuinfo_x86_mach_init() local71 .core_start = i * cores_per_package, in cpuinfo_x86_mach_init()72 .core_count = cores_per_package, in cpuinfo_x86_mach_init()81 packages[i].core_start = i * cores_per_package; in cpuinfo_x86_mach_init()82 packages[i].core_count = cores_per_package; in cpuinfo_x86_mach_init()91 .core_id = i % cores_per_package, in cpuinfo_x86_mach_init()92 .cluster = clusters + i / cores_per_package, in cpuinfo_x86_mach_init()93 .package = packages + i / cores_per_package, in cpuinfo_x86_mach_init()
288 const uint32_t cores_per_package = mach_topology.cores / mach_topology.packages; in cpuinfo_arm_mach_init() local294 .core_start = i * cores_per_package, in cpuinfo_arm_mach_init()295 .core_count = cores_per_package, in cpuinfo_arm_mach_init()374 .core_id = i % cores_per_package, in cpuinfo_arm_mach_init()375 .package = packages + i / cores_per_package, in cpuinfo_arm_mach_init()