summaryrefslogtreecommitdiff
path: root/io_uring/msg_ring.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-05-25 06:42:08 -0600
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:12 -0600
commit36404b09aa609e00f8f0108356830c22b99b3cbf (patch)
tree9ec7d25af7015e16c3e26962c8a135eea5d290c4 /io_uring/msg_ring.h
parentf9ead18c10589a351f395ac5aa107360f2f6ce53 (diff)
downloadlwn-36404b09aa609e00f8f0108356830c22b99b3cbf.tar.gz
lwn-36404b09aa609e00f8f0108356830c22b99b3cbf.zip
io_uring: move msg_ring into its own file
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/msg_ring.h')
-rw-r--r--io_uring/msg_ring.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/io_uring/msg_ring.h b/io_uring/msg_ring.h
new file mode 100644
index 000000000000..fb9601f202d0
--- /dev/null
+++ b/io_uring/msg_ring.h
@@ -0,0 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
+
+int io_msg_ring_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
+int io_msg_ring(struct io_kiocb *req, unsigned int issue_flags);