Lines Matching refs:new
63 static inline void __list_add(struct list_head *new, in __list_add() argument
66 next->prev = new; in __list_add()
67 new->next = next; in __list_add()
68 new->prev = prev; in __list_add()
69 prev->next = new; in __list_add()
72 extern void __list_add(struct list_head *new,
84 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
86 __list_add(new, head, head->next); in list_add()
97 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
99 __list_add(new, head->prev, head); in list_add_tail()
139 static inline void list_replace(struct list_head *old, struct list_head *new) in list_replace() argument
141 new->next = old->next; in list_replace()
142 new->next->prev = new; in list_replace()
143 new->prev = old->prev; in list_replace()
144 new->prev->next = new; in list_replace()
148 struct list_head *new) in list_replace_init() argument
150 list_replace(old, new); in list_replace_init()