Searched refs:q_avail (Results 1 – 1 of 1) sorted by relevance
196 int m, q_avail; in RingQueue_Enqueue() local199 q_avail = rq->length - rq->wi; in RingQueue_Enqueue()200 if (q_avail <= 0) { in RingQueue_Enqueue()202 q_avail = rq->length; in RingQueue_Enqueue()205 assert(q_avail > 0); in RingQueue_Enqueue()206 if (m > q_avail) in RingQueue_Enqueue()207 m = q_avail; in RingQueue_Enqueue()