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()
48 extern void __list_add(struct list_head *new,
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()
75 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
77 __list_add(new, head->prev, head); in list_add_tail()
124 struct list_head *new) in list_replace() argument
126 new->next = old->next; in list_replace()
127 new->next->prev = new; in list_replace()
128 new->prev = old->prev; in list_replace()
129 new->prev->next = new; in list_replace()
133 struct list_head *new) in list_replace_init() argument
135 list_replace(old, new); in list_replace_init()
686 struct hlist_head *new) in hlist_move_list() argument
688 new->first = old->first; in hlist_move_list()
689 if (new->first) in hlist_move_list()
690 new->first->pprev = &new->first; in hlist_move_list()