Lines Matching refs:list_empty

786 	return !list_empty(&pool->worklist) && __need_more_worker(pool);  in need_more_worker()
798 return !list_empty(&pool->worklist) && in keep_working()
825 if (unlikely(list_empty(&pool->idle_list))) in first_idle_worker()
915 !list_empty(&pool->worklist)) in wq_worker_sleeping()
1158 if (!list_empty(&pwq->delayed_works)) { in pwq_dec_nr_in_flight()
1415 if (WARN_ON(!list_empty(&work->entry))) { in __queue_work()
1484 WARN_ON_ONCE(!list_empty(&work->entry)); in __queue_delayed_work()
1593 WARN_ON_ONCE(!list_empty(&worker->entry) && in worker_enter_idle()
1703 if (list_empty(&pool->workers)) in worker_detach_from_pool()
1795 WARN_ON(!list_empty(&worker->scheduled)) || in destroy_worker()
1843 if (list_empty(&pwq->mayday_node)) { in send_mayday()
2126 while (!list_empty(&worker->scheduled)) { in process_scheduled_works()
2158 WARN_ON_ONCE(!list_empty(&worker->entry)); in worker_thread()
2183 WARN_ON_ONCE(!list_empty(&worker->scheduled)); in worker_thread()
2202 if (unlikely(!list_empty(&worker->scheduled))) in worker_thread()
2277 while (!list_empty(&wq->maydays)) { in rescuer_thread()
2297 WARN_ON_ONCE(!list_empty(scheduled)); in rescuer_thread()
2302 if (!list_empty(scheduled)) { in rescuer_thread()
2535 WARN_ON_ONCE(!list_empty(&wq->flusher_overflow)); in flush_workqueue()
2588 WARN_ON_ONCE(!list_empty(&this_flusher.list)); in flush_workqueue()
2602 WARN_ON_ONCE(!list_empty(&wq->flusher_overflow) && in flush_workqueue()
2609 if (!list_empty(&wq->flusher_overflow)) { in flush_workqueue()
2626 if (list_empty(&wq->flusher_queue)) { in flush_workqueue()
2690 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()
3183 WARN_ON(!list_empty(&pool->worklist))) in put_unbound_pool()
3205 if (!list_empty(&pool->workers)) in put_unbound_pool()
3319 is_last = list_empty(&wq->pwqs); in pwq_unbound_release_workfn()
3366 while (!list_empty(&pwq->delayed_works) && in pwq_adjust_max_active()
3408 if (!list_empty(&pwq->pwqs_node)) in link_pwq()
3650 if (WARN_ON((wq->flags & __WQ_ORDERED) && !list_empty(&wq->pwqs))) in apply_workqueue_attrs_locked()
3961 WARN_ON(!list_empty(&pwq->delayed_works))) { in destroy_workqueue()
4089 ret = !list_empty(&pwq->delayed_works); in workqueue_congested()
4241 !list_empty(&pwq->mayday_node) ? " MAYDAY" : ""); in show_pwq()
4288 if (!list_empty(&pwq->delayed_works)) { in show_pwq()
4322 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) { in show_workqueue_state()
4334 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) in show_workqueue_state()