Lines Matching defs:sqe
2121 const struct io_uring_sqe *sqe)
2130 req->opcode = opcode = READ_ONCE(sqe->opcode);
2132 req->flags = sqe_flags = READ_ONCE(sqe->flags);
2133 req->cqe.user_data = READ_ONCE(sqe->user_data);
2150 req->buf_index = READ_ONCE(sqe->buf_group);
2174 if (!def->ioprio && sqe->ioprio)
2182 req->cqe.fd = READ_ONCE(sqe->fd);
2195 personality = READ_ONCE(sqe->personality);
2211 return def->prep(req, sqe);
2214 static __cold int io_submit_fail_init(const struct io_uring_sqe *sqe,
2221 trace_io_uring_req_failed(sqe, req, ret);
2252 const struct io_uring_sqe *sqe)
2258 ret = io_init_req(ctx, req, sqe);
2260 return io_submit_fail_init(sqe, req, ret);
2267 * IOSQE_IO_LINK is set in the sqe, start a new head. This one will be
2274 return io_submit_fail_init(sqe, req, ret);
2345 * Fetch an sqe, if one is available. Note this returns a pointer to memory
2348 * being a good citizen. If members of the sqe are validated and then later
2352 static bool io_get_sqe(struct io_ring_ctx *ctx, const struct io_uring_sqe **sqe)
2382 *sqe = &ctx->sq_sqes[head];
2401 const struct io_uring_sqe *sqe;
2406 if (unlikely(!io_get_sqe(ctx, &sqe))) {
2412 * Continue submitting even for sqe failure if the
2415 if (unlikely(io_submit_sqe(ctx, req, sqe)) &&