Lines Matching refs:ipt
570 * inline and ipt.result_mask is set to the mask.
574 struct io_poll_table *ipt, __poll_t mask,
585 ipt->pt._key = mask;
586 ipt->req = req;
587 ipt->error = 0;
588 ipt->nr_entries = 0;
600 ipt->owning = issue_flags & IO_URING_F_UNLOCKED;
601 atomic_set(&req->poll_refs, (int)ipt->owning);
607 mask = vfs_poll(req->file, &ipt->pt) & poll->events;
609 if (unlikely(ipt->error || !ipt->nr_entries)) {
612 if (!io_poll_can_finish_inline(req, ipt)) {
616 ipt->result_mask = mask;
619 return ipt->error ?: -EINVAL;
624 if (!io_poll_can_finish_inline(req, ipt)) {
629 ipt->result_mask = mask;
637 io_poll_can_finish_inline(req, ipt)) {
642 if (ipt->owning) {
704 struct io_poll_table ipt;
738 ipt.pt._qproc = io_async_queue_proc;
742 ret = __io_arm_poll_handler(req, &apoll->poll, &ipt, mask, issue_flags);
956 struct io_poll_table ipt;
959 ipt.pt._qproc = io_poll_queue_proc;
968 ret = __io_arm_poll_handler(req, poll, &ipt, poll->events, issue_flags);
970 io_req_set_res(req, ipt.result_mask, 0);