summaryrefslogtreecommitdiff
path: root/io_uring/splice.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-05-24 21:19:47 -0600
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:11 -0600
commit531113bbd5bfc93e8de45440752af11c751e4aaf (patch)
treea4643adc406a76ed1f27d30d3fab96c785620e4e /io_uring/splice.h
parent11aeb71406ddd0ef526ad1df48b54aae628aad3b (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.h7
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);