Lines Matching refs:new
38 static inline void __list_add(struct list_head *new, in __list_add() argument
42 next->prev = new; in __list_add()
43 new->next = next; in __list_add()
44 new->prev = prev; in __list_add()
45 prev->next = new; in __list_add()
56 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
58 __list_add(new, head, head->next); in list_add()
69 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
71 __list_add(new, head->prev, head); in list_add_tail()
108 struct list_head *new) in list_replace() argument
110 new->next = old->next; in list_replace()
111 new->next->prev = new; in list_replace()
112 new->prev = old->prev; in list_replace()
113 new->prev->next = new; in list_replace()
117 struct list_head *new) in list_replace_init() argument
119 list_replace(old, new); in list_replace_init()