Lines Matching refs:new
43 static inline void __list_add(struct list_head *new, in __list_add() argument
47 next->prev = new; in __list_add()
48 new->next = next; in __list_add()
49 new->prev = prev; in __list_add()
50 prev->next = new; in __list_add()
61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
63 __list_add(new, head, head->next); in list_add()
74 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
76 __list_add(new, head->prev, head); in list_add_tail()
113 struct list_head *new) in list_replace() argument
115 new->next = old->next; in list_replace()
116 new->next->prev = new; in list_replace()
117 new->prev = old->prev; in list_replace()
118 new->prev->next = new; in list_replace()
122 struct list_head *new) in list_replace_init() argument
124 list_replace(old, new); in list_replace_init()