Lines Matching refs:nr_active
212 int nr_active; /* L: nr of active works */ member
1167 pwq->nr_active++; in pwq_activate_delayed_work()
1197 pwq->nr_active--; in pwq_dec_nr_in_flight()
1200 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1505 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
1507 pwq->nr_active++; in __queue_work()
2563 if (pwq->nr_active && need_to_create_worker(pool)) { in rescuer_thread()
2983 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()
3776 pwq->nr_active < pwq->max_active) { in pwq_adjust_max_active()
4395 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) in pwq_busy()
4739 pwq->nr_active, pwq->max_active, pwq->refcnt, in show_pwq()
4821 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) { in show_workqueue_state()
4833 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) in show_workqueue_state()
5267 WARN_ON_ONCE(pwq->nr_active < 0); in freeze_workqueues_busy()
5268 if (pwq->nr_active) { in freeze_workqueues_busy()