Lines Matching refs:sq
513 char* sq; in uv__iou_init() local
518 sq = MAP_FAILED; in uv__iou_init()
562 sq = mmap(0, in uv__iou_init()
576 if (sq == MAP_FAILED || sqe == MAP_FAILED) in uv__iou_init()
591 iou->sqhead = (uint32_t*) (sq + params.sq_off.head); in uv__iou_init()
592 iou->sqtail = (uint32_t*) (sq + params.sq_off.tail); in uv__iou_init()
593 iou->sqmask = *(uint32_t*) (sq + params.sq_off.ring_mask); in uv__iou_init()
594 iou->sqflags = (uint32_t*) (sq + params.sq_off.flags); in uv__iou_init()
595 iou->cqhead = (uint32_t*) (sq + params.cq_off.head); in uv__iou_init()
596 iou->cqtail = (uint32_t*) (sq + params.cq_off.tail); in uv__iou_init()
597 iou->cqmask = *(uint32_t*) (sq + params.cq_off.ring_mask); in uv__iou_init()
598 iou->sq = sq; in uv__iou_init()
599 iou->cqe = sq + params.cq_off.cqes; in uv__iou_init()
611 sqarray = (uint32_t*) (sq + params.sq_off.array); in uv__iou_init()
618 if (sq != MAP_FAILED) in uv__iou_init()
619 munmap(sq, maxlen); in uv__iou_init()
630 munmap(iou->sq, iou->maxlen); in uv__iou_delete()