Lines Matching refs:io_ev_fd
14 struct io_ev_fd { struct
30 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_free() argument
36 static void io_eventfd_put(struct io_ev_fd *ev_fd) in io_eventfd_put()
44 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_do_signal()
50 static void io_eventfd_release(struct io_ev_fd *ev_fd, bool put_ref) in io_eventfd_release()
60 static bool __io_eventfd_signal(struct io_ev_fd *ev_fd) in __io_eventfd_signal()
77 static bool io_eventfd_trigger(struct io_ev_fd *ev_fd) in io_eventfd_trigger()
88 static struct io_ev_fd *io_eventfd_grab(struct io_ring_ctx *ctx) in io_eventfd_grab()
90 struct io_ev_fd *ev_fd; in io_eventfd_grab()
101 ev_fd = rcu_dereference(ctx->io_ev_fd); in io_eventfd_grab()
117 struct io_ev_fd *ev_fd; in io_eventfd_signal()
126 struct io_ev_fd *ev_fd; in io_eventfd_flush_signal()
156 struct io_ev_fd *ev_fd; in io_eventfd_register()
160 ev_fd = rcu_dereference_protected(ctx->io_ev_fd, in io_eventfd_register()
188 rcu_assign_pointer(ctx->io_ev_fd, ev_fd); in io_eventfd_register()
194 struct io_ev_fd *ev_fd; in io_eventfd_unregister()
196 ev_fd = rcu_dereference_protected(ctx->io_ev_fd, in io_eventfd_unregister()
200 rcu_assign_pointer(ctx->io_ev_fd, NULL); in io_eventfd_unregister()