Lines Matching refs:prev
33 struct list_head *next, *prev; member
42 (ptr)->next = (ptr); (ptr)->prev = (ptr); \
58 struct list_head *prev, in __list_add() argument
61 next->prev = new; in __list_add()
63 new->prev = prev; in __list_add()
64 prev->next = new; in __list_add()
90 __list_add(new, head->prev, head); in list_add_tail()
100 struct list_head * prev, in __list_add_rcu() argument
104 new->prev = prev; in __list_add_rcu()
105 next->prev = new; in __list_add_rcu()
106 prev->next = new; in __list_add_rcu()
132 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu()
142 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument
144 next->prev = prev; in __list_del()
145 prev->next = next; in __list_del()
156 __list_del(entry->prev, entry->next); in list_del()
158 entry->prev = LIST_POISON2; in list_del()
174 __list_del(entry->prev, entry->next); in list_del_rcu()
175 entry->prev = LIST_POISON2; in list_del_rcu()
184 __list_del(entry->prev, entry->next); in list_del_init()
195 __list_del(list->prev, list->next); in list_move()
207 __list_del(list->prev, list->next); in list_move_tail()
224 struct list_head *last = list->prev; in __list_splice()
227 first->prev = head; in __list_splice()
231 at->prev = last; in __list_splice()
284 for (pos = (head)->prev; pos != (head); pos = pos->prev)
314 for (pos = list_entry((head)->prev, typeof(*pos), member); \
316 pos = list_entry(pos->member.prev, typeof(*pos), member))