diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-05-24 21:19:47 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-24 18:39:11 -0600 |
commit | 531113bbd5bfc93e8de45440752af11c751e4aaf (patch) | |
tree | a4643adc406a76ed1f27d30d3fab96c785620e4e /io_uring/splice.h | |
parent | 11aeb71406ddd0ef526ad1df48b54aae628aad3b (diff) |
io_uring: split out splice related operations
This splits out splice and tee support.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/splice.h')
-rw-r--r-- | io_uring/splice.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/io_uring/splice.h b/io_uring/splice.h new file mode 100644 index 000000000000..542f94168ad3 --- /dev/null +++ b/io_uring/splice.h @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 + +int io_tee_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_tee(struct io_kiocb *req, unsigned int issue_flags); + +int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_splice(struct io_kiocb *req, unsigned int issue_flags); |