Home
last modified time | relevance | path

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

/linux-6.6.21/io_uring/
Dio_uring.c553 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_ops() local
554 int ops = atomic_xchg(&ev_fd->ops, 0); in io_eventfd_ops()
557 eventfd_signal_mask(ev_fd->cq_ev_fd, 1, EPOLL_URING_WAKE); in io_eventfd_ops()
563 if (atomic_dec_and_test(&ev_fd->refs)) { in io_eventfd_ops()
564 eventfd_ctx_put(ev_fd->cq_ev_fd); in io_eventfd_ops()
565 kfree(ev_fd); in io_eventfd_ops()
571 struct io_ev_fd *ev_fd = NULL; in io_eventfd_signal() local
578 ev_fd = rcu_dereference(ctx->io_ev_fd); in io_eventfd_signal()
585 if (unlikely(!ev_fd)) in io_eventfd_signal()
589 if (ev_fd->eventfd_async && !io_wq_current_is_worker()) in io_eventfd_signal()
[all …]