Lines Matching refs:preq
5909 struct io_kiocb *preq; in io_poll_update() local
5914 preq = io_poll_find(ctx, req->poll_update.old_user_data, true); in io_poll_update()
5915 if (!preq) { in io_poll_update()
5922 ret = io_poll_remove_one(preq) ? 0 : -EALREADY; in io_poll_update()
5931 completing = !__io_poll_remove_one(preq, &preq->poll, false); in io_poll_update()
5932 if (completing && (preq->poll.events & EPOLLONESHOT)) { in io_poll_update()
5947 preq->poll.events &= ~0xffff; in io_poll_update()
5948 preq->poll.events |= req->poll_update.events & 0xffff; in io_poll_update()
5949 preq->poll.events |= IO_POLL_UNMASK; in io_poll_update()
5952 preq->user_data = req->poll_update.new_user_data; in io_poll_update()
5959 ret = io_poll_add(preq, issue_flags); in io_poll_update()
5961 req_set_fail(preq); in io_poll_update()
5962 io_req_complete(preq, ret); in io_poll_update()