xref: /linux/io_uring/uring_cmd.h (revision f7e36d02d771ee14acae1482091718460cffb321)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 struct uring_cache {
4 	struct io_uring_sqe sqes[2];
5 };
6 
7 int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags);
8 int io_uring_cmd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
9 
10 bool io_uring_try_cancel_uring_cmd(struct io_ring_ctx *ctx,
11 				   struct io_uring_task *tctx, bool cancel_all);
12