Lines Matching refs:list_empty
791 return !list_empty(&pool->worklist) && __need_more_worker(pool); in need_more_worker()
803 return !list_empty(&pool->worklist) && in keep_working()
830 if (unlikely(list_empty(&pool->idle_list))) in first_idle_worker()
920 !list_empty(&pool->worklist)) in wq_worker_sleeping()
1163 if (!list_empty(&pwq->delayed_works)) { in pwq_dec_nr_in_flight()
1420 if (WARN_ON(!list_empty(&work->entry))) { in __queue_work()
1489 WARN_ON_ONCE(!list_empty(&work->entry)); in __queue_delayed_work()
1598 WARN_ON_ONCE(!list_empty(&worker->entry) && in worker_enter_idle()
1708 if (list_empty(&pool->workers)) in worker_detach_from_pool()
1802 WARN_ON(!list_empty(&worker->scheduled)) || in destroy_worker()
1850 if (list_empty(&pwq->mayday_node)) { in send_mayday()
2133 while (!list_empty(&worker->scheduled)) { in process_scheduled_works()
2165 WARN_ON_ONCE(!list_empty(&worker->entry)); in worker_thread()
2190 WARN_ON_ONCE(!list_empty(&worker->scheduled)); in worker_thread()
2209 if (unlikely(!list_empty(&worker->scheduled))) in worker_thread()
2284 while (!list_empty(&wq->maydays)) { in rescuer_thread()
2304 WARN_ON_ONCE(!list_empty(scheduled)); in rescuer_thread()
2309 if (!list_empty(scheduled)) { in rescuer_thread()
2542 WARN_ON_ONCE(!list_empty(&wq->flusher_overflow)); in flush_workqueue()
2595 WARN_ON_ONCE(!list_empty(&this_flusher.list)); in flush_workqueue()
2609 WARN_ON_ONCE(!list_empty(&wq->flusher_overflow) && in flush_workqueue()
2616 if (!list_empty(&wq->flusher_overflow)) { in flush_workqueue()
2633 if (list_empty(&wq->flusher_queue)) { in flush_workqueue()
2697 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()
3220 WARN_ON(!list_empty(&pool->worklist))) in put_unbound_pool()
3242 if (!list_empty(&pool->workers)) in put_unbound_pool()
3354 is_last = list_empty(&wq->pwqs); in pwq_unbound_release_workfn()
3401 while (!list_empty(&pwq->delayed_works) && in pwq_adjust_max_active()
3443 if (!list_empty(&pwq->pwqs_node)) in link_pwq()
3677 if (WARN_ON((wq->flags & __WQ_ORDERED) && !list_empty(&wq->pwqs))) in apply_workqueue_attrs()
3981 WARN_ON(!list_empty(&pwq->delayed_works))) { in destroy_workqueue()
4109 ret = !list_empty(&pwq->delayed_works); in workqueue_congested()
4261 !list_empty(&pwq->mayday_node) ? " MAYDAY" : ""); in show_pwq()
4308 if (!list_empty(&pwq->delayed_works)) { in show_pwq()
4342 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) { in show_workqueue_state()
4354 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) in show_workqueue_state()