printf: Remove unused 'bprintf'
[drm/drm-misc.git] / io_uring / waitid.h
blobd5544aaf302ad6a4f07f2e9704d4ad85d499bc13
1 // SPDX-License-Identifier: GPL-2.0
3 #include "../kernel/exit.h"
5 struct io_waitid_async {
6 struct io_kiocb *req;
7 struct wait_opts wo;
8 };
10 int io_waitid_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
11 int io_waitid(struct io_kiocb *req, unsigned int issue_flags);
12 int io_waitid_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd,
13 unsigned int issue_flags);
14 bool io_waitid_remove_all(struct io_ring_ctx *ctx, struct io_uring_task *tctx,
15 bool cancel_all);