mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
e10677a8f6
It's now unused, drop the code related to it. This includes the io_issue_defs->manual alloc field. While in there, and since ->async_size is now being used a bit more frequently and in the issue path, move it to io_issue_defs[]. Signed-off-by: Jens Axboe <axboe@kernel.dk>
16 lines
448 B
C
16 lines
448 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
struct uring_cache {
|
|
union {
|
|
struct io_cache_entry cache;
|
|
struct io_uring_sqe sqes[2];
|
|
};
|
|
};
|
|
|
|
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);
|
|
void io_uring_cache_free(struct io_cache_entry *entry);
|
|
|
|
bool io_uring_try_cancel_uring_cmd(struct io_ring_ctx *ctx,
|
|
struct task_struct *task, bool cancel_all);
|