Searched refs:num_cpus (Results 1 – 13 of 13) sorted by relevance
54 static uint32_t num_cpus; in ncpus() local55 if (!num_cpus) { in ncpus()59 num_cpus = n; in ncpus()61 return num_cpus; in ncpus()
117 unsigned int num_cpus; member159 unsigned int num_cpus; member
1393 return ml_get_topology_info()->num_cpus; in ml_cpu_cache_sharing()1418 cpu_number += cluster->num_cpus; in ml_cpu_cache_sharing()1445 unsigned int num_cpus = ml_get_topology_info()->max_cpu_id + 1; in machine_conf() local1446 machine_info.max_cpus = num_cpus; in machine_conf()1447 machine_info.physical_cpu_max = num_cpus; in machine_conf()1448 machine_info.logical_cpu_max = num_cpus; in machine_conf()
339 for (i = 0; i < info->num_cpus; i++) { in panic_display_hung_cpus_help()
179 for (unsigned int cpu = 0; cpu < topology_info->num_cpus; cpu++) { in cpu_boot_thread()224 for (unsigned int cpu = 0; cpu < topology_info->num_cpus; cpu++) { in cpu_boot_thread()385 for (int i = 0; i < topology_info->num_cpus; i++) { in is_cluster_powering_down()508 for (i = 0; i < topology_info->num_cpus; i++) { in IOCPUSleepKernel()542 for (i = 0; i < topology_info->num_cpus; i++) { in IOCPUSleepKernel()
1174 …if (topology_info.num_cpus >= (cpu_boot_arg - 1) && topology_info.boot_cpu == NULL && !is_boot_cpu… in ml_parse_cpu_topology()1177 if (topology_info.num_cpus >= cpu_boot_arg) { in ml_parse_cpu_topology()1181 ml_topology_cpu_t *cpu = &topology_info.cpus[topology_info.num_cpus]; in ml_parse_cpu_topology()1183 cpu->cpu_id = topology_info.num_cpus++; in ml_parse_cpu_topology()1233 if (cluster->num_cpus == 0) { in ml_parse_cpu_topology()1267 cluster->num_cpus++; in ml_parse_cpu_topology()1336 for (i = 0; i < topology_info.num_cpus; i++) { in ml_map_cpu_pio()1361 return topology_info.num_cpus; in ml_get_cpu_count()1387 for (unsigned i = 0; i < topology_info.num_cpus; i++) { in ml_get_cpu_number()1462 for (uint16_t cpu_id = 0; cpu_id < topology_info.num_cpus; cpu_id++) { in ml_map_cpus_to_clusters()[all …]
274 assert(cpu_id < tip->num_cpus); in hvg_hc_kick_cpu()
1333 for (unsigned int i = 0; i < topology_info->num_cpus; i++) { in mt_count_pmis()
208 extern void vm_set_restrictions(unsigned int num_cpus);
1176 extern void vm_page_init_local_q(unsigned int num_cpus);
5025 vm_set_restrictions(unsigned int num_cpus) argument5033 assert(num_cpus > 0);5035 if (num_cpus <= 3) {
869 vm_page_init_local_q(unsigned int num_cpus) in vm_page_init_local_q() argument876 if (num_cpus >= 2) { in vm_page_init_local_q()
2093 uint32_t limit, num_cpus = ml_wait_max_cpus(); in workq_open() local2100 limit = num_cpus * WORKQUEUE_CONSTRAINED_FACTOR; in workq_open()2113 wq_death_max_load = (uint16_t)fls(num_cpus) + 1; in workq_open()2120 wq_max_cooperative_threads = num_cpus; in workq_open()