Lines Matching refs:tail
18 struct list_head *head, **tail = &head; in merge() local
23 *tail = a; in merge()
24 tail = &a->next; in merge()
27 *tail = b; in merge()
31 *tail = b; in merge()
32 tail = &b->next; in merge()
35 *tail = a; in merge()
54 struct list_head *tail = head; in merge_final() local
60 tail->next = a; in merge_final()
61 a->prev = tail; in merge_final()
62 tail = a; in merge_final()
67 tail->next = b; in merge_final()
68 b->prev = tail; in merge_final()
69 tail = b; in merge_final()
79 tail->next = b; in merge_final()
90 b->prev = tail; in merge_final()
91 tail = b; in merge_final()
96 tail->next = head; in merge_final()
97 head->prev = tail; in merge_final()
215 struct list_head **tail = &pending; in list_sort() local
219 tail = &(*tail)->prev; in list_sort()
222 struct list_head *a = *tail, *b = a->prev; in list_sort()
227 *tail = a; in list_sort()