Lines Matching refs:new
15 void __list_add(struct list_head *new, in __list_add() argument
18 next->prev = new; in __list_add()
19 new->next = next; in __list_add()
20 new->prev = prev; in __list_add()
21 prev->next = new; in __list_add()
30 void list_add(struct list_head *new, struct list_head *head) in list_add() argument
32 __list_add(new, head, head->next); in list_add()
35 void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
37 __list_add(new, head->prev, head); in list_add_tail()
47 void list_replace(struct list_head *old, struct list_head *new) in list_replace() argument
49 new->next = old->next; in list_replace()
50 new->next->prev = new; in list_replace()
51 new->prev = old->prev; in list_replace()
52 new->prev->next = new; in list_replace()