Lines Matching defs:iwa
37 struct io_waitid_async *iwa = req->async_data;
39 put_pid(iwa->wo.wo_pid);
134 struct io_waitid_async *iwa = req->async_data;
147 list_del_init(&iwa->wo.child_wait.entry);
169 struct io_waitid_async *iwa = req->async_data;
180 remove_wait_queue(iw->head, &iwa->wo.child_wait);
186 struct io_waitid_async *iwa = req->async_data;
192 ret = __do_wait(&iwa->wo);
207 add_wait_queue(iw->head, &iwa->wo.child_wait);
208 ret = __do_wait(&iwa->wo);
215 remove_wait_queue(iw->head, &iwa->wo.child_wait);
227 struct io_waitid_async *iwa = container_of(wo, struct io_waitid_async, wo);
228 struct io_kiocb *req = iwa->req;
248 struct io_waitid_async *iwa;
253 iwa = io_uring_alloc_async_data(NULL, req);
254 if (!unlikely(iwa))
256 iwa->req = req;
268 struct io_waitid_async *iwa = req->async_data;
272 ret = kernel_waitid_prepare(&iwa->wo, iw->which, iw->upid, &iw->info,
293 init_waitqueue_func_entry(&iwa->wo.child_wait, io_waitid_wait);
294 iwa->wo.child_wait.private = req->tctx->task;
296 add_wait_queue(iw->head, &iwa->wo.child_wait);
298 ret = __do_wait(&iwa->wo);
318 remove_wait_queue(iw->head, &iwa->wo.child_wait);