Searched refs:nr_idle (Results 1 – 1 of 1) sorted by relevance
174 int nr_idle; /* L: currently idle workers */ member835 return pool->nr_idle; in may_start_working()854 int nr_idle = pool->nr_idle + managing; /* manager is considered idle */ in too_many_workers() local855 int nr_busy = pool->nr_workers - nr_idle; in too_many_workers()857 return nr_idle > 2 && (nr_idle - 2) * MAX_IDLE_WORKERS_RATIO >= nr_busy; in too_many_workers()938 pool->nr_idle++; in worker_enter_idle()948 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle()967 pool->nr_idle--; in worker_leave_idle()2290 pool->nr_idle--; in set_worker_dying()4006 WARN_ON(pool->nr_workers || pool->nr_idle); in put_unbound_pool()[all …]