Lines Matching refs:prev
35 struct list_head *next, *prev; member
46 list->prev = list; in INIT_LIST_HEAD()
56 struct list_head *prev, in __list_add() argument
59 next->prev = new; in __list_add()
61 new->prev = prev; in __list_add()
62 prev->next = new; in __list_add()
88 __list_add(new, head->prev, head); in list_add_tail()
98 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument
100 next->prev = prev; in __list_del()
101 prev->next = next; in __list_del()
112 __list_del(entry->prev, entry->next); in list_del()
114 entry->prev = LIST_POISON2; in list_del()
187 __list_del(list->prev, list->next); in list_move_tail()
195 struct list_head *last = list->prev; in __list_splice()
198 first->prev = head; in __list_splice()
202 at->prev = last; in __list_splice()
227 new->next->prev = new; in list_replace()
228 new->prev = old->prev; in list_replace()
229 new->prev->next = new; in list_replace()