| // SPDX-License-Identifier: GPL-2.0 |
| struct wait_queue_head *head; |
| struct wait_queue_entry wait; |
| struct io_cache_entry cache; |
| struct io_poll *double_poll; |
| int io_poll_add_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); |
| int io_poll_add(struct io_kiocb *req, unsigned int issue_flags); |
| int io_poll_remove_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); |
| int io_poll_remove(struct io_kiocb *req, unsigned int issue_flags); |
| int io_poll_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd, |
| int io_arm_poll_handler(struct io_kiocb *req, unsigned issue_flags); |
| bool io_poll_remove_all(struct io_ring_ctx *ctx, struct task_struct *tsk, |
| void io_apoll_cache_free(struct io_cache_entry *entry); |