1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/pagemap.h>
8 struct iov_iter_state iter_state
;
10 struct iovec
*free_iovec
;
12 struct wait_page_queue wpq
;
15 int io_prep_read_fixed(struct io_kiocb
*req
, const struct io_uring_sqe
*sqe
);
16 int io_prep_write_fixed(struct io_kiocb
*req
, const struct io_uring_sqe
*sqe
);
17 int io_prep_readv(struct io_kiocb
*req
, const struct io_uring_sqe
*sqe
);
18 int io_prep_writev(struct io_kiocb
*req
, const struct io_uring_sqe
*sqe
);
19 int io_prep_read(struct io_kiocb
*req
, const struct io_uring_sqe
*sqe
);
20 int io_prep_write(struct io_kiocb
*req
, const struct io_uring_sqe
*sqe
);
21 int io_read(struct io_kiocb
*req
, unsigned int issue_flags
);
22 int io_write(struct io_kiocb
*req
, unsigned int issue_flags
);
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
);
26 int io_read_mshot_prep(struct io_kiocb
*req
, const struct io_uring_sqe
*sqe
);
27 int io_read_mshot(struct io_kiocb
*req
, unsigned int issue_flags
);
28 void io_rw_cache_free(const void *entry
);