Lines Matching refs:new
63 static inline void __list_add(struct list_head *new, in __list_add() argument
67 next->prev = new; in __list_add()
68 new->next = next; in __list_add()
69 new->prev = prev; in __list_add()
70 prev->next = new; in __list_add()
81 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
83 __list_add(new, head, head->next); in list_add()
94 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
96 __list_add(new, head->prev, head); in list_add_tail()
138 struct list_head *new) in list_replace() argument
140 new->next = old->next; in list_replace()
141 new->next->prev = new; in list_replace()
142 new->prev = old->prev; in list_replace()
143 new->prev->next = new; in list_replace()
154 struct list_head *new) in list_replace_init() argument
156 list_replace(old, new); in list_replace_init()