2022-05-25 14:59:19 +03:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
2024-03-19 05:41:58 +03:00
|
|
|
struct uring_cache {
|
2024-03-21 00:19:44 +03:00
|
|
|
struct io_uring_sqe sqes[2];
|
2024-03-19 05:41:58 +03:00
|
|
|
};
|
|
|
|
|
2022-05-25 14:59:19 +03: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-19 01:00:23 +03:00
|
|
|
|
|
|
|
bool io_uring_try_cancel_uring_cmd(struct io_ring_ctx *ctx,
|
2024-03-19 05:41:58 +03:00
|
|
|
struct task_struct *task, bool cancel_all);
|