1 // SPDX-License-Identifier: GPL-2.0 2 3 #include "../kernel/exit.h" 4 5 struct io_waitid_async { 6 struct io_kiocb *req; 7 struct wait_opts wo; 8 }; 9 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 task_struct *task, 15 bool cancel_all); 16