• Home
  • Raw
  • Download

Lines Matching refs:prev

22 	struct list_head *next, *prev;  member
33 list->prev = list; in INIT_LIST_HEAD()
43 struct list_head *prev, in __list_add() argument
46 next->prev = new; in __list_add()
48 new->prev = prev; in __list_add()
49 prev->next = new; in __list_add()
75 __list_add(new, head->prev, head); in list_add_tail()
85 struct list_head * prev, struct list_head * next) in __list_add_rcu() argument
88 new->prev = prev; in __list_add_rcu()
90 next->prev = new; in __list_add_rcu()
91 prev->next = new; in __list_add_rcu()
134 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu()
144 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument
146 next->prev = prev; in __list_del()
147 prev->next = next; in __list_del()
158 __list_del(entry->prev, entry->next); in list_del()
160 entry->prev = LIST_POISON2; in list_del()
189 __list_del(entry->prev, entry->next); in list_del_rcu()
190 entry->prev = LIST_POISON2; in list_del_rcu()
203 new->next->prev = new; in list_replace()
204 new->prev = old->prev; in list_replace()
205 new->prev->next = new; in list_replace()
227 new->prev = old->prev; in list_replace_rcu()
229 new->next->prev = new; in list_replace_rcu()
230 new->prev->next = new; in list_replace_rcu()
231 old->prev = LIST_POISON2; in list_replace_rcu()
240 __list_del(entry->prev, entry->next); in list_del_init()
251 __list_del(list->prev, list->next); in list_move()
263 __list_del(list->prev, list->next); in list_move_tail()
303 return (next == head) && (next == head->prev); in list_empty_careful()
310 struct list_head *last = list->prev; in __list_splice()
313 first->prev = head; in __list_splice()
317 at->prev = last; in __list_splice()
384 for (pos = (head)->prev; prefetch(pos->prev), pos != (head); \
385 pos = pos->prev)
415 for (pos = list_entry((head)->prev, typeof(*pos), member); \
416 prefetch(pos->member.prev), &pos->member != (head); \
417 pos = list_entry(pos->member.prev, typeof(*pos), member))
511 for (pos = list_entry((head)->prev, typeof(*pos), member), \
512 n = list_entry(pos->member.prev, typeof(*pos), member); \
514 pos = n, n = list_entry(n->member.prev, typeof(*n), member))
798 static inline void hlist_add_after_rcu(struct hlist_node *prev, in hlist_add_after_rcu() argument
801 n->next = prev->next; in hlist_add_after_rcu()
802 n->pprev = &prev->next; in hlist_add_after_rcu()
804 prev->next = n; in hlist_add_after_rcu()