diff options
Diffstat (limited to 'io_uring/eventfd.h')
| -rw-r--r-- | io_uring/eventfd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/io_uring/eventfd.h b/io_uring/eventfd.h new file mode 100644 index 000000000..e965d80d9 --- /dev/null +++ b/io_uring/eventfd.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +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_signal(struct io_ring_ctx *ctx, bool cqe_event, bool defer); |
