Searched refs:nr_idle (Results 1 – 1 of 1) sorted by relevance
172 int nr_idle; /* L: currently idle workers */ member814 return pool->nr_idle; in may_start_working()833 int nr_idle = pool->nr_idle + managing; /* manager is considered idle */ in too_many_workers() local834 int nr_busy = pool->nr_workers - nr_idle; in too_many_workers()836 return nr_idle > 2 && (nr_idle - 2) * MAX_IDLE_WORKERS_RATIO >= nr_busy; in too_many_workers()1813 pool->nr_idle++; in worker_enter_idle()1823 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle()1842 pool->nr_idle--; in worker_leave_idle()2008 pool->nr_idle--; in destroy_worker()3609 WARN_ON(pool->nr_workers || pool->nr_idle); in put_unbound_pool()[all …]