xref: /linux/io_uring/uring_cmd.h (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
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 task_struct *task, bool cancel_all);
12