Lines Matching refs:next
75 return elt->next == cq->head ? NULL : elt->next; in circle_queue_next()
98 cq->head = elt->next = elt->prev = elt; in circle_enqueue_tail()
100 } else if (tail->next != head) { in circle_enqueue_tail()
103 elt->next = head; in circle_enqueue_tail()
105 tail->next = elt; in circle_enqueue_tail()
125 queue_entry_t elt_next = elt->next; in circle_dequeue()
133 elt_prev->next = elt_next; in circle_dequeue()
175 if (s_tail->next != s_head) { in circle_queue_concat_tail()
186 if (d_tail->next != d_head) { in circle_queue_concat_tail()
190 d_tail->next = s_head; in circle_queue_concat_tail()
194 s_tail->next = d_head; in circle_queue_concat_tail()
203 cq->head = first->next; in circle_queue_rotate_head_forward()