Lines Matching refs:worklist

157 	struct list_head	worklist;	/* L: list of pending works */
610 * but stay off timer and worklist for arbitrarily long and nobody should
778 * worklist isn't empty.
782 return !list_empty(&pool->worklist) && __need_more_worker(pool);
794 return !list_empty(&pool->worklist) &&
902 * worklist not empty test sequence is in insert_work().
912 !list_empty(&pool->worklist)) {
1056 * @nextp: out parameter for nested worklist walking
1075 * Linked worklist will always end before the end of the list,
1156 if (list_empty(&pwq->pool->worklist))
1158 move_linked_works(work, &pwq->pool->worklist, NULL);
1219 * try_to_grab_pending - steal work item from worklist and disable irq
1225 * stable state - idle, on timer or on worklist.
1276 * steal it from ->worklist without clearing WORK_STRUCT_PENDING.
1413 struct list_head *worklist;
1498 worklist = &pwq->pool->worklist;
1499 if (list_empty(worklist))
1503 worklist = &pwq->inactive_works;
1507 insert_work(pwq, work, worklist, work_flags);
2062 list_for_each_entry(work, &pool->worklist, entry)
2421 list_first_entry(&pool->worklist,
2525 list_for_each_entry_safe(work, n, &pool->worklist, entry) {
3444 INIT_LIST_HEAD(&pool->worklist);
3562 WARN_ON(!list_empty(&pool->worklist)))
4750 list_for_each_entry(work, &pool->worklist, entry) {
4760 list_for_each_entry(work, &pool->worklist, entry) {
4838 if (!list_empty(&pool->worklist))
4958 * worklist is not empty. This pool now behaves as an
5195 * pool->worklist.
5287 /* restore max_active and repopulate worklist */
5774 * forward progress is defined as the first item on ->worklist changing.
5813 if (list_empty(&pool->worklist))