Lines Matching refs:new
55 static inline void __list_add(struct list_head *new, in __list_add() argument
59 next->prev = new; in __list_add()
60 new->next = next; in __list_add()
61 new->prev = prev; in __list_add()
62 prev->next = new; in __list_add()
73 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
75 __list_add(new, head, head->next); in list_add()
86 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
88 __list_add(new, head->prev, head); in list_add_tail()
224 struct list_head *new) in list_replace() argument
226 new->next = old->next; in list_replace()
227 new->next->prev = new; in list_replace()
228 new->prev = old->prev; in list_replace()
229 new->prev->next = new; in list_replace()
233 struct list_head *new) in list_replace_init() argument
235 list_replace(old, new); in list_replace_init()