]>
git.proxmox.com Git - mirror_ubuntu-kernels.git/blob - io_uring/cancel.h
1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/io_uring_types.h>
5 struct io_cancel_data
{
6 struct io_ring_ctx
*ctx
;
16 int io_async_cancel_prep(struct io_kiocb
*req
, const struct io_uring_sqe
*sqe
);
17 int io_async_cancel(struct io_kiocb
*req
, unsigned int issue_flags
);
19 int io_try_cancel(struct io_uring_task
*tctx
, struct io_cancel_data
*cd
,
20 unsigned int issue_flags
);
21 void init_hash_table(struct io_hash_table
*table
, unsigned size
);
23 int io_sync_cancel(struct io_ring_ctx
*ctx
, void __user
*arg
);