Lines Matching refs:tail
19 struct list_head *head, **tail = &head; in merge() local
24 *tail = a; in merge()
25 tail = &a->next; in merge()
28 *tail = b; in merge()
32 *tail = b; in merge()
33 tail = &b->next; in merge()
36 *tail = a; in merge()
55 struct list_head *tail = head; in merge_final() local
61 tail->next = a; in merge_final()
62 a->prev = tail; in merge_final()
63 tail = a; in merge_final()
68 tail->next = b; in merge_final()
69 b->prev = tail; in merge_final()
70 tail = b; in merge_final()
80 tail->next = b; in merge_final()
91 b->prev = tail; in merge_final()
92 tail = b; in merge_final()
97 tail->next = head; in merge_final()
98 head->prev = tail; in merge_final()
216 struct list_head **tail = &pending; in list_sort() local
220 tail = &(*tail)->prev; in list_sort()
223 struct list_head *a = *tail, *b = a->prev; in list_sort()
228 *tail = a; in list_sort()