Lines Matching refs:next
28 tail = &a->next; in merge()
29 a = a->next; in merge()
36 tail = &b->next; in merge()
37 b = b->next; in merge()
64 tail->next = a; in merge_final()
67 a = a->next; in merge_final()
71 tail->next = b; in merge_final()
74 b = b->next; in merge_final()
83 tail->next = b; in merge_final()
96 b = b->next; in merge_final()
100 tail->next = head; in merge_final()
192 struct list_head *list = head->next, *pending = NULL; in list_sort()
199 head->prev->next = NULL; in list_sort()
239 list = list->next; in list_sort()
240 pending->next = NULL; in list_sort()
248 struct list_head *next = pending->prev; in list_sort() local
250 if (!next) in list_sort()
253 pending = next; in list_sort()