Lines Matching refs:ringfd
515 int ringfd; in uv__iou_init() local
538 ringfd = uv__io_uring_setup(entries, ¶ms); in uv__iou_init()
539 if (ringfd == -1) in uv__iou_init()
566 ringfd, in uv__iou_init()
573 ringfd, in uv__iou_init()
585 e.data.fd = ringfd; in uv__iou_init()
587 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ringfd, &e)) in uv__iou_init()
605 iou->ringfd = ringfd; in uv__iou_init()
624 uv__close(ringfd); in uv__iou_init()
629 if (iou->ringfd > -1) { in uv__iou_delete()
632 uv__close(iou->ringfd); in uv__iou_delete()
633 iou->ringfd = -1; in uv__iou_delete()
642 lfields->ctl.ringfd = -1; in uv__platform_loop_init()
643 lfields->iou.ringfd = -2; /* "uninitialized" */ in uv__platform_loop_init()
767 if (iou->ringfd == -2) { in uv__iou_get_sqe()
772 iou->ringfd = -1; in uv__iou_get_sqe()
777 if (iou->ringfd == -2) in uv__iou_get_sqe()
778 iou->ringfd = -1; /* "failed" */ in uv__iou_get_sqe()
781 if (iou->ringfd == -1) in uv__iou_get_sqe()
822 if (uv__io_uring_enter(iou->ringfd, 0, 0, UV__IORING_ENTER_SQ_WAKEUP)) in uv__iou_submit()
1228 rc = uv__io_uring_enter(iou->ringfd, 0, 0, UV__IORING_ENTER_GETEVENTS); in uv__poll_io_uring()
1257 assert(ctl->ringfd != -1); in uv__epoll_ctl_prep()
1294 assert(ctl->ringfd != -1); in uv__epoll_ctl_flush()
1299 rc = uv__io_uring_enter(ctl->ringfd, n, n, UV__IORING_ENTER_GETEVENTS); in uv__epoll_ctl_flush()
1420 if (ctl->ringfd != -1) { in uv__io_poll()
1448 if (ctl->ringfd != -1) in uv__io_poll()
1505 if (fd == iou->ringfd) { in uv__io_poll()
1616 if (ctl->ringfd != -1) in uv__io_poll()