Lines Matching refs:worklist
156 struct list_head worklist; /* L: list of pending works */ member
783 return !list_empty(&pool->worklist) && __need_more_worker(pool); in need_more_worker()
795 return !list_empty(&pool->worklist) && in keep_working()
902 !list_empty(&pool->worklist)) { in wq_worker_sleeping()
1146 if (list_empty(&pwq->pool->worklist)) in pwq_activate_delayed_work()
1148 move_linked_works(work, &pwq->pool->worklist, NULL); in pwq_activate_delayed_work()
1400 struct list_head *worklist; in __queue_work() local
1484 worklist = &pwq->pool->worklist; in __queue_work()
1485 if (list_empty(worklist)) in __queue_work()
1489 worklist = &pwq->delayed_works; in __queue_work()
1492 insert_work(pwq, work, worklist, work_flags); in __queue_work()
2050 list_for_each_entry(work, &pool->worklist, entry) in pool_mayday_timeout()
2409 list_first_entry(&pool->worklist, in worker_thread()
2513 list_for_each_entry_safe(work, n, &pool->worklist, entry) { in rescuer_thread()
3425 INIT_LIST_HEAD(&pool->worklist); in init_worker_pool()
3532 WARN_ON(!list_empty(&pool->worklist))) in put_unbound_pool()
4692 list_for_each_entry(work, &pool->worklist, entry) { in show_pwq()
4702 list_for_each_entry(work, &pool->worklist, entry) { in show_pwq()
5740 if (list_empty(&pool->worklist)) in wq_watchdog_timer_fn()