Lines Matching refs:sqe
2044 const struct io_uring_sqe *sqe)
2053 req->opcode = opcode = READ_ONCE(sqe->opcode);
2055 sqe_flags = READ_ONCE(sqe->flags);
2057 req->cqe.user_data = READ_ONCE(sqe->user_data);
2075 req->buf_index = READ_ONCE(sqe->buf_group);
2099 if (!def->ioprio && sqe->ioprio)
2107 req->cqe.fd = READ_ONCE(sqe->fd);
2120 personality = READ_ONCE(sqe->personality);
2136 return def->prep(req, sqe);
2139 static __cold int io_submit_fail_init(const struct io_uring_sqe *sqe,
2146 trace_io_uring_req_failed(sqe, req, ret);
2177 const struct io_uring_sqe *sqe)
2183 ret = io_init_req(ctx, req, sqe);
2185 return io_submit_fail_init(sqe, req, ret);
2192 * IOSQE_IO_LINK is set in the sqe, start a new head. This one will be
2266 * Fetch an sqe, if one is available. Note this returns a pointer to memory
2269 * being a good citizen. If members of the sqe are validated and then later
2273 static bool io_get_sqe(struct io_ring_ctx *ctx, const struct io_uring_sqe **sqe)
2303 *sqe = &ctx->sq_sqes[head];
2322 const struct io_uring_sqe *sqe;
2327 if (unlikely(!io_get_sqe(ctx, &sqe))) {
2333 * Continue submitting even for sqe failure if the
2336 if (unlikely(io_submit_sqe(ctx, req, sqe)) &&