Searched refs:front (Results 1 – 1 of 1) sorted by relevance
1349 unsigned int front, rear; member1360 cq->front = cq->rear = 0; in __cq_init()1366 return (cq->front == cq->rear); in __cq_empty()1371 return ((cq->rear + 1) & CQ_MASK) == cq->front; in __cq_full()1395 lock = cq->element[cq->front]; in __cq_dequeue()1396 cq->front = (cq->front + 1) & CQ_MASK; in __cq_dequeue()1403 return (cq->rear - cq->front) & CQ_MASK; in __cq_get_elem_count()