summaryrefslogtreecommitdiffstats
path: root/io_uring/eventfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/eventfd.h')
-rw-r--r--io_uring/eventfd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/io_uring/eventfd.h b/io_uring/eventfd.h
new file mode 100644
index 000000000000..d394f49c6321
--- /dev/null
+++ b/io_uring/eventfd.h
@@ -0,0 +1,8 @@
+
+struct io_ring_ctx;
+int io_eventfd_register(struct io_ring_ctx *ctx, void __user *arg,
+ unsigned int eventfd_async);
+int io_eventfd_unregister(struct io_ring_ctx *ctx);
+
+void io_eventfd_flush_signal(struct io_ring_ctx *ctx);
+void io_eventfd_signal(struct io_ring_ctx *ctx);