summaryrefslogtreecommitdiffstats
path: root/io_uring/splice.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 000000000..542f94168
--- /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);