mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +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>
9 lines
277 B
C
9 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);
|