Lines Matching refs:fwork
593 struct kthread_flush_work *fwork = in kthread_flush_work_fn() local
595 complete(&fwork->done); in kthread_flush_work_fn()
606 struct kthread_flush_work fwork = { in flush_kthread_work() local
607 KTHREAD_WORK_INIT(fwork.work, kthread_flush_work_fn), in flush_kthread_work()
608 COMPLETION_INITIALIZER_ONSTACK(fwork.done), in flush_kthread_work()
625 insert_kthread_work(worker, &fwork.work, work->node.next); in flush_kthread_work()
627 insert_kthread_work(worker, &fwork.work, worker->work_list.next); in flush_kthread_work()
634 wait_for_completion(&fwork.done); in flush_kthread_work()
647 struct kthread_flush_work fwork = { in flush_kthread_worker() local
648 KTHREAD_WORK_INIT(fwork.work, kthread_flush_work_fn), in flush_kthread_worker()
649 COMPLETION_INITIALIZER_ONSTACK(fwork.done), in flush_kthread_worker()
652 queue_kthread_work(worker, &fwork.work); in flush_kthread_worker()
653 wait_for_completion(&fwork.done); in flush_kthread_worker()