Lines Matching refs:prev
59 struct mlist_head *next, *prev; member
70 (ptr)->next = (ptr); (ptr)->prev = (ptr); \
81 struct mlist_head *prev, in __list_add() argument
84 next->prev = new; in __list_add()
86 new->prev = prev; in __list_add()
87 prev->next = new; in __list_add()
115 __list_add(new, head->prev, head); in mlist_add_tail()
127 static void __list_del(struct mlist_head *prev, in __list_del() argument
130 next->prev = prev; in __list_del()
131 prev->next = next; in __list_del()
145 __list_del(entry->prev, entry->next);
146 entry->next = entry->prev = 0;
156 __list_del(entry->prev, entry->next); in mlist_del_init()
181 struct mlist_head *last = list->prev; in mlist_splice()
184 first->prev = head; in mlist_splice()
188 at->prev = last; in mlist_splice()