2022-05-25 04:59:19 -07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
2024-03-18 19:41:58 -07:00
|
|
|
struct uring_cache {
|
2024-03-20 14:19:44 -07:00
|
|
|
struct io_uring_sqe sqes[2];
|
2024-03-18 19:41:58 -07:00
|
|
|
};
|
|
|
|
|
2022-05-25 04:59:19 -07:00
|
|
|
int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags);
|
|
|
|
int io_uring_cmd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
2024-03-18 15:00:23 -07:00
|
|
|
|
|
|
|
bool io_uring_try_cancel_uring_cmd(struct io_ring_ctx *ctx,
|
2024-03-18 19:41:58 -07:00
|
|
|
struct task_struct *task, bool cancel_all);
|