Lines Matching refs:fwork
649 struct kthread_flush_work *fwork = in kthread_flush_work_fn() local
651 complete(&fwork->done); in kthread_flush_work_fn()
662 struct kthread_flush_work fwork = { in flush_kthread_work() local
663 KTHREAD_WORK_INIT(fwork.work, kthread_flush_work_fn), in flush_kthread_work()
664 COMPLETION_INITIALIZER_ONSTACK(fwork.done), in flush_kthread_work()
681 insert_kthread_work(worker, &fwork.work, work->node.next); in flush_kthread_work()
683 insert_kthread_work(worker, &fwork.work, worker->work_list.next); in flush_kthread_work()
690 wait_for_completion(&fwork.done); in flush_kthread_work()
703 struct kthread_flush_work fwork = { in flush_kthread_worker() local
704 KTHREAD_WORK_INIT(fwork.work, kthread_flush_work_fn), in flush_kthread_worker()
705 COMPLETION_INITIALIZER_ONSTACK(fwork.done), in flush_kthread_worker()
708 queue_kthread_work(worker, &fwork.work); in flush_kthread_worker()
709 wait_for_completion(&fwork.done); in flush_kthread_worker()