Searched refs:available_cpus (Results 1 – 1 of 1) sorted by relevance
588 int available_cpus = 0; in util_cpu_detect_once() local598 available_cpus = MAX2(1, system_info.dwNumberOfProcessors); in util_cpu_detect_once()614 available_cpus = CPU_COUNT(&affin); in util_cpu_detect_once()623 if (available_cpus == 0) { in util_cpu_detect_once()629 available_cpus = ncpu; in util_cpu_detect_once()632 if (available_cpus == 0) { in util_cpu_detect_once()633 available_cpus = sysconf(_SC_NPROCESSORS_ONLN); in util_cpu_detect_once()634 if (available_cpus == ~0) in util_cpu_detect_once()635 available_cpus = 1; in util_cpu_detect_once()638 if (available_cpus == 0) { in util_cpu_detect_once()[all …]