Lines Matching refs:iwa
37 struct io_waitid_async *iwa = req->async_data; in io_waitid_free() local
39 put_pid(iwa->wo.wo_pid); in io_waitid_free()
134 struct io_waitid_async *iwa = req->async_data; in __io_waitid_cancel() local
147 list_del_init(&iwa->wo.child_wait.entry); in __io_waitid_cancel()
169 struct io_waitid_async *iwa = req->async_data; in io_waitid_drop_issue_ref() local
180 remove_wait_queue(iw->head, &iwa->wo.child_wait); in io_waitid_drop_issue_ref()
186 struct io_waitid_async *iwa = req->async_data; in io_waitid_cb() local
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()
227 struct io_waitid_async *iwa = container_of(wo, struct io_waitid_async, wo); in io_waitid_wait() local
228 struct io_kiocb *req = iwa->req; in io_waitid_wait()
248 struct io_waitid_async *iwa; in io_waitid_prep() local
253 iwa = io_uring_alloc_async_data(NULL, req); in io_waitid_prep()
254 if (!unlikely(iwa)) in io_waitid_prep()
256 iwa->req = req; in io_waitid_prep()
268 struct io_waitid_async *iwa = req->async_data; in io_waitid() local
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()