Searched refs:hw_ncpu (Results 1 – 1 of 1) sorted by relevance
77 static int hw_ncpu; variable242 len = sizeof(hw_ncpu); in create_proc_table()243 if (sysctlbyname("hw.ncpu", &hw_ncpu, &len, NULL, 0) == -1 || in create_proc_table()244 len != sizeof(hw_ncpu)) { in create_proc_table()246 hw_ncpu = 0; in create_proc_table()250 detected_processor_count, hw_ncpu); in create_proc_table()253 for (; detected_processor_count < hw_ncpu; detected_processor_count++) in create_proc_table()