summaryrefslogtreecommitdiffstats
path: root/io_uring/cancel.h
blob: 8dd259dc383e2c33e7eea85ed375954b6160dd2c (plain)
1
2
3
4
5
6
7
8
// SPDX-License-Identifier: GPL-2.0

int io_async_cancel_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
int io_async_cancel(struct io_kiocb *req, unsigned int issue_flags);

int io_try_cancel(struct io_kiocb *req, struct io_cancel_data *cd,
		  unsigned int issue_flags);
void init_hash_table(struct io_hash_table *table, unsigned size);