Lines Matching refs:preq
975 struct io_kiocb *preq; in io_poll_remove() local
980 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table, &bucket); in io_poll_remove()
981 ret2 = io_poll_disarm(preq); in io_poll_remove()
991 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table_locked, &bucket); in io_poll_remove()
992 ret2 = io_poll_disarm(preq); in io_poll_remove()
1001 if (WARN_ON_ONCE(preq->opcode != IORING_OP_POLL_ADD)) { in io_poll_remove()
1009 struct io_poll *poll = io_kiocb_to_cmd(preq, struct io_poll); in io_poll_remove()
1016 preq->cqe.user_data = poll_update->new_user_data; in io_poll_remove()
1018 ret2 = io_poll_add(preq, issue_flags & ~IO_URING_F_UNLOCKED); in io_poll_remove()
1024 req_set_fail(preq); in io_poll_remove()
1025 io_req_set_res(preq, -ECANCELED, 0); in io_poll_remove()
1026 io_req_task_complete(preq, &ts); in io_poll_remove()