Lines Matching refs:prev
49 struct list_head *next, *prev; member
60 list->prev = list; in INIT_LIST_HEAD()
71 struct list_head *prev, in __list_add() argument
74 next->prev = new; in __list_add()
76 new->prev = prev; in __list_add()
77 prev->next = new; in __list_add()
81 struct list_head *prev,
113 __list_add(new, head->prev, head); in list_add_tail()
123 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument
125 next->prev = prev; in __list_del()
126 prev->next = next; in __list_del()
138 __list_del(entry->prev, entry->next); in list_del()
140 entry->prev = LIST_POISON2; in list_del()
156 new->next->prev = new; in list_replace()
157 new->prev = old->prev; in list_replace()
158 new->prev->next = new; in list_replace()
173 __list_del(entry->prev, entry->next); in list_del_init()
184 __list_del(list->prev, list->next); in list_move()
196 __list_del(list->prev, list->next); in list_move_tail()
236 return (next == head) && (next == head->prev); in list_empty_careful()
243 struct list_head *last = list->prev; in __list_splice()
246 first->prev = head; in __list_splice()
250 at->prev = last; in __list_splice()
317 for (pos = (head)->prev; pos != (head); \
318 pos = pos->prev)
348 for (pos = list_entry((head)->prev, typeof(*pos), member); \
350 pos = list_entry(pos->member.prev, typeof(*pos), member))
444 for (pos = list_entry((head)->prev, typeof(*pos), member), \
445 n = list_entry(pos->member.prev, typeof(*pos), member); \
447 pos = n, n = list_entry(n->member.prev, typeof(*n), member))