• Home
  • Raw
  • Download

Lines Matching refs:ipt

584 				 struct io_poll_table *ipt, __poll_t mask,  in __io_arm_poll_handler()  argument
595 ipt->pt._key = mask; in __io_arm_poll_handler()
596 ipt->req = req; in __io_arm_poll_handler()
597 ipt->error = 0; in __io_arm_poll_handler()
598 ipt->nr_entries = 0; in __io_arm_poll_handler()
610 ipt->owning = issue_flags & IO_URING_F_UNLOCKED; in __io_arm_poll_handler()
611 atomic_set(&req->poll_refs, (int)ipt->owning); in __io_arm_poll_handler()
617 mask = vfs_poll(req->file, &ipt->pt) & poll->events; in __io_arm_poll_handler()
619 if (unlikely(ipt->error || !ipt->nr_entries)) { in __io_arm_poll_handler()
622 if (!io_poll_can_finish_inline(req, ipt)) { in __io_arm_poll_handler()
626 ipt->result_mask = mask; in __io_arm_poll_handler()
629 return ipt->error ?: -EINVAL; in __io_arm_poll_handler()
634 if (!io_poll_can_finish_inline(req, ipt)) { in __io_arm_poll_handler()
639 ipt->result_mask = mask; in __io_arm_poll_handler()
647 io_poll_can_finish_inline(req, ipt)) { in __io_arm_poll_handler()
652 if (ipt->owning) { in __io_arm_poll_handler()
714 struct io_poll_table ipt; in io_arm_poll_handler() local
748 ipt.pt._qproc = io_async_queue_proc; in io_arm_poll_handler()
752 ret = __io_arm_poll_handler(req, &apoll->poll, &ipt, mask, issue_flags); in io_arm_poll_handler()
969 struct io_poll_table ipt; in io_poll_add() local
972 ipt.pt._qproc = io_poll_queue_proc; in io_poll_add()
981 ret = __io_arm_poll_handler(req, poll, &ipt, poll->events, issue_flags); in io_poll_add()
983 io_req_set_res(req, ipt.result_mask, 0); in io_poll_add()