Lines Matching refs:scheduled
1824 INIT_LIST_HEAD(&worker->scheduled); in alloc_worker()
1975 WARN_ON(!list_empty(&worker->scheduled)) || in destroy_worker()
2196 move_linked_works(work, &collision->scheduled, NULL); in process_one_work()
2329 while (!list_empty(&worker->scheduled)) { in process_scheduled_works()
2330 struct work_struct *work = list_first_entry(&worker->scheduled, in process_scheduled_works()
2396 WARN_ON_ONCE(!list_empty(&worker->scheduled)); in worker_thread()
2417 if (unlikely(!list_empty(&worker->scheduled))) in worker_thread()
2420 move_linked_works(work, &worker->scheduled, NULL); in worker_thread()
2466 struct list_head *scheduled = &rescuer->scheduled; in rescuer_thread() local
2512 WARN_ON_ONCE(!list_empty(scheduled)); in rescuer_thread()
2517 move_linked_works(work, scheduled, &n); in rescuer_thread()
2522 if (!list_empty(scheduled)) { in rescuer_thread()
2676 head = worker->scheduled.next; in insert_wq_barrier()
4685 list_for_each_entry(work, &worker->scheduled, entry) in show_pwq()