1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 2 3 #include "../kernel/exit.h" 3 #include "../kernel/exit.h" 4 4 5 struct io_waitid_async { 5 struct io_waitid_async { 6 struct io_kiocb *req; 6 struct io_kiocb *req; 7 struct wait_opts wo; 7 struct wait_opts wo; 8 }; 8 }; 9 9 10 int io_waitid_prep(struct io_kiocb *req, const 10 int io_waitid_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 11 int io_waitid(struct io_kiocb *req, unsigned i 11 int io_waitid(struct io_kiocb *req, unsigned int issue_flags); 12 int io_waitid_cancel(struct io_ring_ctx *ctx, 12 int io_waitid_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd, 13 unsigned int issue_flags) 13 unsigned int issue_flags); 14 bool io_waitid_remove_all(struct io_ring_ctx * 14 bool io_waitid_remove_all(struct io_ring_ctx *ctx, struct task_struct *task, 15 bool cancel_all); 15 bool cancel_all); 16 16
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.