Searched refs:available_cpus (Results 1 – 1 of 1) sorted by relevance
727 int available_cpus = 0; in _util_cpu_detect_once() local737 available_cpus = MAX2(1, system_info.dwNumberOfProcessors); in _util_cpu_detect_once()753 available_cpus = CPU_COUNT(&affin); in _util_cpu_detect_once()762 if (available_cpus == 0) { in _util_cpu_detect_once()768 available_cpus = ncpu; in _util_cpu_detect_once()771 if (available_cpus == 0) { in _util_cpu_detect_once()772 available_cpus = sysconf(_SC_NPROCESSORS_ONLN); in _util_cpu_detect_once()773 if (available_cpus == ~0) in _util_cpu_detect_once()774 available_cpus = 1; in _util_cpu_detect_once()777 if (available_cpus == 0) { in _util_cpu_detect_once()[all …]