Lines Matching refs:fwork
630 struct kthread_flush_work *fwork = in kthread_flush_work_fn() local
632 complete(&fwork->done); in kthread_flush_work_fn()
643 struct kthread_flush_work fwork = { in flush_kthread_work() local
644 KTHREAD_WORK_INIT(fwork.work, kthread_flush_work_fn), in flush_kthread_work()
645 COMPLETION_INITIALIZER_ONSTACK(fwork.done), in flush_kthread_work()
662 insert_kthread_work(worker, &fwork.work, work->node.next); in flush_kthread_work()
664 insert_kthread_work(worker, &fwork.work, worker->work_list.next); in flush_kthread_work()
671 wait_for_completion(&fwork.done); in flush_kthread_work()
684 struct kthread_flush_work fwork = { in flush_kthread_worker() local
685 KTHREAD_WORK_INIT(fwork.work, kthread_flush_work_fn), in flush_kthread_worker()
686 COMPLETION_INITIALIZER_ONSTACK(fwork.done), in flush_kthread_worker()
689 queue_kthread_work(worker, &fwork.work); in flush_kthread_worker()
690 wait_for_completion(&fwork.done); in flush_kthread_worker()