Lines Matching refs:inactive_works
254 struct list_head inactive_works; /* L: inactive works */ member
1464 struct work_struct *work = list_first_entry(&pwq->inactive_works, in pwq_activate_first_inactive()
1487 if (!list_empty(&pwq->inactive_works)) { in pwq_dec_nr_in_flight()
1800 insert_work(pwq, work, &pwq->inactive_works, work_flags); in __queue_work()
3313 drained = !pwq->nr_active && list_empty(&pwq->inactive_works); in drain_workqueue()
4171 while (!list_empty(&pwq->inactive_works) && in pwq_adjust_max_active()
4195 INIT_LIST_HEAD(&pwq->inactive_works); in init_pwq()
4771 if (pwq->nr_active || !list_empty(&pwq->inactive_works)) in pwq_busy()
4959 ret = !list_empty(&pwq->inactive_works); in workqueue_congested()
5189 if (!list_empty(&pwq->inactive_works)) { in show_pwq()
5193 list_for_each_entry(work, &pwq->inactive_works, entry) { in show_pwq()
5213 if (pwq->nr_active || !list_empty(&pwq->inactive_works)) { in show_one_workqueue()
5225 if (pwq->nr_active || !list_empty(&pwq->inactive_works)) { in show_one_workqueue()