Lines Matching refs:preq
980 struct io_kiocb *preq; in io_poll_remove() local
984 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table, &bucket); in io_poll_remove()
985 ret2 = io_poll_disarm(preq); in io_poll_remove()
996 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table_locked, &bucket); in io_poll_remove()
997 ret2 = io_poll_disarm(preq); in io_poll_remove()
1007 if (WARN_ON_ONCE(preq->opcode != IORING_OP_POLL_ADD)) { in io_poll_remove()
1015 struct io_poll *poll = io_kiocb_to_cmd(preq, struct io_poll); in io_poll_remove()
1022 preq->cqe.user_data = poll_update->new_user_data; in io_poll_remove()
1024 ret2 = io_poll_add(preq, issue_flags); in io_poll_remove()
1030 req_set_fail(preq); in io_poll_remove()
1031 io_req_set_res(preq, -ECANCELED, 0); in io_poll_remove()
1033 io_req_task_complete(preq, &locked); in io_poll_remove()