Lines Matching refs:inactive_works
232 struct list_head inactive_works; /* L: inactive works */ member
1185 struct work_struct *work = list_first_entry(&pwq->inactive_works, in pwq_activate_first_inactive()
1208 if (!list_empty(&pwq->inactive_works)) { in pwq_dec_nr_in_flight()
1523 worklist = &pwq->inactive_works; in __queue_work()
2992 drained = !pwq->nr_active && list_empty(&pwq->inactive_works); in drain_workqueue()
3784 while (!list_empty(&pwq->inactive_works) && in pwq_adjust_max_active()
3817 INIT_LIST_HEAD(&pwq->inactive_works); in init_pwq()
4406 if (pwq->nr_active || !list_empty(&pwq->inactive_works)) in pwq_busy()
4602 ret = !list_empty(&pwq->inactive_works); in workqueue_congested()
4798 if (!list_empty(&pwq->inactive_works)) { in show_pwq()
4802 list_for_each_entry(work, &pwq->inactive_works, entry) { in show_pwq()
4821 if (pwq->nr_active || !list_empty(&pwq->inactive_works)) { in show_one_workqueue()
4833 if (pwq->nr_active || !list_empty(&pwq->inactive_works)) { in show_one_workqueue()