summaryrefslogtreecommitdiff
path: root/io_uring/eventfd.h
blob: 400eda4a4165ac4512bb83d4965ae0135bcd6af1 (plain)
1
2
3
4
5
6
7
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);