Home
last modified time | relevance | path

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

/linux-6.1.9/io_uring/
Dio_uring.c494 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_ops() local
495 int ops = atomic_xchg(&ev_fd->ops, 0); in io_eventfd_ops()
498 eventfd_signal_mask(ev_fd->cq_ev_fd, 1, EPOLL_URING_WAKE); in io_eventfd_ops()
504 if (atomic_dec_and_test(&ev_fd->refs)) { in io_eventfd_ops()
505 eventfd_ctx_put(ev_fd->cq_ev_fd); in io_eventfd_ops()
506 kfree(ev_fd); in io_eventfd_ops()
512 struct io_ev_fd *ev_fd = NULL; in io_eventfd_signal() local
519 ev_fd = rcu_dereference(ctx->io_ev_fd); in io_eventfd_signal()
526 if (unlikely(!ev_fd)) in io_eventfd_signal()
530 if (ev_fd->eventfd_async && !io_wq_current_is_worker()) in io_eventfd_signal()
[all …]