Searched refs:rear (Results 1 – 1 of 1) sorted by relevance
1416 unsigned int front, rear; member1427 cq->front = cq->rear = 0; in __cq_init()1433 return (cq->front == cq->rear); in __cq_empty()1438 return ((cq->rear + 1) & CQ_MASK) == cq->front; in __cq_full()1446 cq->element[cq->rear] = elem; in __cq_enqueue()1447 cq->rear = (cq->rear + 1) & CQ_MASK; in __cq_enqueue()1470 return (cq->rear - cq->front) & CQ_MASK; in __cq_get_elem_count()