Lines Matching refs:nr_active
207 int nr_active; /* L: nr of active works */ member
1147 pwq->nr_active++; in pwq_activate_delayed_work()
1177 pwq->nr_active--; in pwq_dec_nr_in_flight()
1180 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1483 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
1485 pwq->nr_active++; in __queue_work()
2536 if (pwq->nr_active && need_to_create_worker(pool)) { in rescuer_thread()
2956 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()
3734 pwq->nr_active < pwq->max_active) in pwq_adjust_max_active()
4348 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) in pwq_busy()
4692 pwq->nr_active, pwq->max_active, pwq->refcnt, in show_pwq()
4774 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) { in show_workqueue_state()
4786 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) in show_workqueue_state()
5219 WARN_ON_ONCE(pwq->nr_active < 0); in freeze_workqueues_busy()
5220 if (pwq->nr_active) { in freeze_workqueues_busy()