1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/pagemap.h>
7 struct iov_iter_state iter_state;
8 struct iovec fast_iov[UIO_FASTIOV];
13 const struct iovec *free_iovec;
15 struct wait_page_queue wpq;
18 int io_prep_rw(struct io_kiocb *req, const struct io_uring_sqe *sqe);
19 int io_read(struct io_kiocb *req, unsigned int issue_flags);
20 int io_readv_prep_async(struct io_kiocb *req);
21 int io_write(struct io_kiocb *req, unsigned int issue_flags);
22 int io_writev_prep_async(struct io_kiocb *req);
23 void io_readv_writev_cleanup(struct io_kiocb *req);
24 void io_rw_fail(struct io_kiocb *req);
25 void io_req_rw_complete(struct io_kiocb *req, struct io_tw_state *ts);