mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
200f3abd14
This is pretty nicely abstracted already, but let's move it to a separate file rather than have it in the main io_uring file. With that, we can also move the io_ev_fd struct and enum out of global scope. Signed-off-by: Jens Axboe <axboe@kernel.dk>
8 lines
277 B
C
8 lines
277 B
C
|
|
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);
|