• Home
  • Raw
  • Download

Lines Matching refs:prev

27 	list->prev = list;  in INIT_LIST_HEAD()
38 struct list_head *prev, in __list_add() argument
41 next->prev = new; in __list_add()
43 new->prev = prev; in __list_add()
44 prev->next = new; in __list_add()
48 struct list_head *prev,
76 __list_add(new, head->prev, head); in list_add_tail()
86 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument
88 next->prev = prev; in __list_del()
89 prev->next = next; in __list_del()
101 __list_del(entry->prev, entry->next); in __list_del_entry()
106 __list_del(entry->prev, entry->next); in list_del()
108 entry->prev = LIST_POISON2; in list_del()
126 new->next->prev = new; in list_replace()
127 new->prev = old->prev; in list_replace()
128 new->prev->next = new; in list_replace()
207 return (next == head) && (next == head->prev); in list_empty_careful()
230 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
238 list->next->prev = list; in __list_cut_position()
239 list->prev = entry; in __list_cut_position()
242 new_first->prev = head; in __list_cut_position()
274 struct list_head *prev, in __list_splice() argument
278 struct list_head *last = list->prev; in __list_splice()
280 first->prev = prev; in __list_splice()
281 prev->next = first; in __list_splice()
284 next->prev = last; in __list_splice()
308 __list_splice(list, head->prev, head); in list_splice_tail()
339 __list_splice(list, head->prev, head); in list_splice_tail_init()
389 for (pos = (head)->prev; pos != (head); pos = pos->prev)
408 for (pos = (head)->prev, n = pos->prev; \
410 pos = n, n = pos->prev)
430 for (pos = list_entry((head)->prev, typeof(*pos), member); \
432 pos = list_entry(pos->member.prev, typeof(*pos), member))
469 for (pos = list_entry(pos->member.prev, typeof(*pos), member); \
471 pos = list_entry(pos->member.prev, typeof(*pos), member))
540 for (pos = list_entry((head)->prev, typeof(*pos), member), \
541 n = list_entry(pos->member.prev, typeof(*pos), member); \
543 pos = n, n = list_entry(n->member.prev, typeof(*n), member))