xref: /linux/io_uring/uring_cmd.h (revision 447e140e66fd226350b3ce86cffc965eaae4c856)
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