Lines Matching refs:queue
87 static CNativeBuffer *get_front(struct CNativeBuffer *queue) { in get_front() argument
88 CNativeBuffer *buf = queue->next; in get_front()
89 if (buf == queue) in get_front()
91 buf->next->prev = queue; in get_front()
92 queue->next = buf->next; in get_front()
97 static void put_front(struct CNativeBuffer *queue, aBuffer *_buf) { in put_front() argument
99 buf->prev = queue; in put_front()
100 buf->next = queue->next; in put_front()
101 queue->next->prev = buf; in put_front()
102 queue->next = buf; in put_front()
105 static void put_back(struct CNativeBuffer *queue, aBuffer *_buf) { in put_back() argument
107 buf->next = queue; in put_back()
108 buf->prev = queue->prev; in put_back()
109 queue->prev->next = buf; in put_back()
110 queue->prev = buf; in put_back()