Home
last modified time | relevance | path

Searched refs:CQ_MASK (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/kernel/locking/
Dlockdep.c1441 #define CQ_MASK (MAX_CIRCULAR_QUEUE_SIZE-1) macro
1477 return ((cq->rear + 1) & CQ_MASK) == cq->front; in __cq_full()
1486 cq->rear = (cq->rear + 1) & CQ_MASK; in __cq_enqueue()
1502 cq->front = (cq->front + 1) & CQ_MASK; in __cq_dequeue()
1509 return (cq->rear - cq->front) & CQ_MASK; in __cq_get_elem_count()