Lines Matching refs:nr_active
200 int nr_active; /* L: nr of active works */ member
1079 pwq->nr_active++; in pwq_activate_delayed_work()
1109 pwq->nr_active--; in pwq_dec_nr_in_flight()
1112 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1373 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
1375 pwq->nr_active++; in __queue_work()
2737 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()
3669 pwq->nr_active < pwq->max_active) in pwq_adjust_max_active()
4208 WARN_ON(pwq->nr_active) || in destroy_workqueue()
4822 WARN_ON_ONCE(pwq->nr_active < 0); in freeze_workqueues_busy()
4823 if (pwq->nr_active) { in freeze_workqueues_busy()