Lines Matching refs:worklist
171 struct list_head worklist; /* L: list of pending works */ member
829 return !list_empty(&pool->worklist) && !pool->nr_running; in need_more_worker()
841 return !list_empty(&pool->worklist) && (pool->nr_running <= 1); in keep_working()
1136 struct work_struct *work = list_first_entry(&pool->worklist, in kick_pool()
1455 if (list_empty(&pwq->pool->worklist)) in pwq_activate_inactive_work()
1457 move_linked_works(work, &pwq->pool->worklist, NULL); in pwq_activate_inactive_work()
1794 if (list_empty(&pool->worklist)) in __queue_work()
1799 insert_work(pwq, work, &pool->worklist, work_flags); in __queue_work()
2423 list_for_each_entry(work, &pool->worklist, entry) in pool_mayday_timeout()
2780 list_first_entry(&pool->worklist, in worker_thread()
2873 list_for_each_entry_safe(work, n, &pool->worklist, entry) { in rescuer_thread()
3863 INIT_LIST_HEAD(&pool->worklist); in init_worker_pool()
3971 WARN_ON(!list_empty(&pool->worklist))) in put_unbound_pool()
5171 list_for_each_entry(work, &pool->worklist, entry) { in show_pwq()
5181 list_for_each_entry(work, &pool->worklist, entry) { in show_pwq()
5265 if (!list_empty(&pool->worklist)) in show_one_worker_pool()
6407 if (list_empty(&pool->worklist)) in wq_watchdog_timer_fn()