Lines Matching refs:worklist
202 struct list_head worklist; /* L: list of pending works */ member
934 return !list_empty(&pool->worklist) && !pool->nr_running; in need_more_worker()
946 return !list_empty(&pool->worklist) && (pool->nr_running <= 1); in keep_working()
1269 struct work_struct *work = list_first_entry(&pool->worklist, in kick_pool()
1680 if (list_empty(&pwq->pool->worklist)) in __pwq_activate_work()
1682 move_linked_works(work, &pwq->pool->worklist, NULL); in __pwq_activate_work()
2111 move_linked_works(work, &pwq->pool->worklist, NULL); in try_to_grab_pending()
2335 if (list_empty(&pool->worklist)) in __queue_work()
2339 insert_work(pwq, work, &pool->worklist, work_flags); in __queue_work()
3015 list_for_each_entry(work, &pool->worklist, entry) in pool_mayday_timeout()
3387 list_first_entry(&pool->worklist, in worker_thread()
3480 list_for_each_entry_safe(work, n, &pool->worklist, entry) { in rescuer_thread()
3566 list_first_entry(&pool->worklist, in bh_worker()
4744 INIT_LIST_HEAD(&pool->worklist); in init_worker_pool()
4912 WARN_ON(!list_empty(&pool->worklist))) in put_unbound_pool()
6242 list_for_each_entry(work, &pool->worklist, entry) { in show_pwq()
6252 list_for_each_entry(work, &pool->worklist, entry) { in show_pwq()
6336 if (!list_empty(&pool->worklist)) in show_one_worker_pool()
7541 if (list_empty(&pool->worklist)) in wq_watchdog_timer_fn()