Lines Matching refs:wo
39 put_pid(iwa->wo.wo_pid); in io_waitid_free()
147 list_del_init(&iwa->wo.child_wait.entry); in __io_waitid_cancel()
180 remove_wait_queue(iw->head, &iwa->wo.child_wait); in io_waitid_drop_issue_ref()
192 ret = __do_wait(&iwa->wo); in io_waitid_cb()
207 add_wait_queue(iw->head, &iwa->wo.child_wait); in io_waitid_cb()
208 ret = __do_wait(&iwa->wo); in io_waitid_cb()
215 remove_wait_queue(iw->head, &iwa->wo.child_wait); in io_waitid_cb()
226 struct wait_opts *wo = container_of(wait, struct wait_opts, child_wait); in io_waitid_wait() local
227 struct io_waitid_async *iwa = container_of(wo, struct io_waitid_async, wo); in io_waitid_wait()
232 if (!pid_child_should_wake(wo, p)) in io_waitid_wait()
272 ret = kernel_waitid_prepare(&iwa->wo, iw->which, iw->upid, &iw->info, in io_waitid()
293 init_waitqueue_func_entry(&iwa->wo.child_wait, io_waitid_wait); in io_waitid()
294 iwa->wo.child_wait.private = req->tctx->task; in io_waitid()
296 add_wait_queue(iw->head, &iwa->wo.child_wait); in io_waitid()
298 ret = __do_wait(&iwa->wo); in io_waitid()
318 remove_wait_queue(iw->head, &iwa->wo.child_wait); in io_waitid()