Home
last modified time | relevance | path

Searched refs:ev_fd (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/io_uring/
H A Dio_uring.c542 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_free() local
544 eventfd_ctx_put(ev_fd->cq_ev_fd); in io_eventfd_free()
545 kfree(ev_fd); in io_eventfd_free()
550 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_ops() local
551 int ops = atomic_xchg(&ev_fd->ops, 0); in io_eventfd_ops()
554 eventfd_signal_mask(ev_fd->cq_ev_fd, 1, EPOLL_URING_WAKE); in io_eventfd_ops()
560 if (atomic_dec_and_test(&ev_fd->refs)) in io_eventfd_ops()
561 call_rcu(&ev_fd->rcu, io_eventfd_free); in io_eventfd_ops()
566 struct io_ev_fd *ev_fd = NULL; in io_eventfd_signal() local
573 ev_fd = rcu_dereference(ctx->io_ev_fd); in io_eventfd_signal()
[all …]