Lines Matching refs:done
41 struct completion *done; member
220 struct completion *done; in kthread() local
228 done = xchg(&create->done, NULL); in kthread()
229 if (!done) { in kthread()
236 complete(done); in kthread()
248 complete(done); in kthread()
281 struct completion *done = xchg(&create->done, NULL); in create_kthread() local
283 if (!done) { in create_kthread()
288 complete(done); in create_kthread()
298 DECLARE_COMPLETION_ONSTACK(done); in __kthread_create_on_node()
308 create->done = &done; in __kthread_create_on_node()
320 if (unlikely(wait_for_completion_killable(&done))) { in __kthread_create_on_node()
326 if (xchg(&create->done, NULL)) in __kthread_create_on_node()
332 wait_for_completion(&done); in __kthread_create_on_node()
935 struct completion done; member
942 complete(&fwork->done); in kthread_flush_work_fn()
955 COMPLETION_INITIALIZER_ONSTACK(fwork.done), in kthread_flush_work()
979 wait_for_completion(&fwork.done); in kthread_flush_work()
1162 COMPLETION_INITIALIZER_ONSTACK(fwork.done), in kthread_flush_worker()
1166 wait_for_completion(&fwork.done); in kthread_flush_worker()