Home
last modified time | relevance | path

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

/Linux-v6.6/io_uring/
Dio_uring.c550 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 eventfd_ctx_put(ev_fd->cq_ev_fd); in io_eventfd_ops()
562 kfree(ev_fd); in io_eventfd_ops()
568 struct io_ev_fd *ev_fd = NULL; in io_eventfd_signal() local
575 ev_fd = rcu_dereference(ctx->io_ev_fd); in io_eventfd_signal()
582 if (unlikely(!ev_fd)) in io_eventfd_signal()
586 if (ev_fd->eventfd_async && !io_wq_current_is_worker()) in io_eventfd_signal()
[all …]