Lines Matching refs:ctl
304 struct uv__iou* ctl,
308 struct uv__iou* ctl,
664 lfields->ctl.ringfd = -1;
677 uv__iou_init(loop->backend_fd, &lfields->ctl, 256, 0);
710 uv__iou_delete(&lfields->ctl);
758 &lfields->ctl,
1242 struct uv__iou* ctl,
1253 if (ctl->ringfd == -1) {
1290 mask = ctl->sqmask;
1291 slot = (*ctl->sqtail)++ & mask;
1296 sqe = ctl->sqe;
1307 if ((*ctl->sqhead & mask) == (*ctl->sqtail & mask))
1308 uv__epoll_ctl_flush(epollfd, ctl, events);
1314 struct uv__iou* ctl,
1326 assert(ctl->ringfd != -1);
1327 assert(*ctl->sqhead != *ctl->sqtail);
1329 n = *ctl->sqtail - *ctl->sqhead;
1331 rc = uv__io_uring_enter(ctl->ringfd, n, n, UV__IORING_ENTER_GETEVENTS);
1340 assert(*ctl->sqhead == *ctl->sqtail);
1349 while (*ctl->cqhead != *ctl->cqtail) {
1350 slot = (*ctl->cqhead)++ & ctl->cqmask;
1352 cqe = ctl->cqe;
1372 ctl,
1388 struct uv__iou* ctl;
1409 ctl = &lfields->ctl;
1451 uv__epoll_ctl_prep(epollfd, ctl, &prep, op, w->fd, &e);
1466 if (ctl->ringfd != -1)
1467 while (*ctl->sqhead != *ctl->sqtail)
1468 uv__epoll_ctl_flush(epollfd, ctl, &prep);
1552 uv__epoll_ctl_prep(epollfd, ctl, &prep, EPOLL_CTL_DEL, fd, pe);
1642 if (ctl->ringfd != -1)
1643 while (*ctl->sqhead != *ctl->sqtail)
1644 uv__epoll_ctl_flush(epollfd, ctl, &prep);