Lines Matching defs:ipt
539 * inline and ipt.result_mask is set to the mask.
543 struct io_poll_table *ipt, __poll_t mask,
551 ipt->pt._key = mask;
552 ipt->req = req;
553 ipt->error = 0;
554 ipt->nr_entries = 0;
566 ipt->owning = issue_flags & IO_URING_F_UNLOCKED;
567 atomic_set(&req->poll_refs, (int)ipt->owning);
579 mask = vfs_poll(req->file, &ipt->pt) & poll->events;
581 if (unlikely(ipt->error || !ipt->nr_entries)) {
584 if (!io_poll_can_finish_inline(req, ipt)) {
588 ipt->result_mask = mask;
591 return ipt->error ?: -EINVAL;
596 if (!io_poll_can_finish_inline(req, ipt)) {
601 ipt->result_mask = mask;
609 io_poll_can_finish_inline(req, ipt)) {
615 if (ipt->owning) {
671 struct io_poll_table ipt;
685 ipt.pt._qproc = io_async_queue_proc;
687 ret = __io_arm_poll_handler(req, &apoll->poll, &ipt, mask, issue_flags);
892 struct io_poll_table ipt;
895 ipt.pt._qproc = io_poll_queue_proc;
897 ret = __io_arm_poll_handler(req, poll, &ipt, poll->events, issue_flags);
899 io_req_set_res(req, ipt.result_mask, 0);