• Home
  • Raw
  • Download

Lines Matching refs:new

42 static inline void __list_add(struct list_head *new,  in __list_add()  argument
46 next->prev = new; in __list_add()
47 new->next = next; in __list_add()
48 new->prev = prev; in __list_add()
49 prev->next = new; in __list_add()
60 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
62 __list_add(new, head, head->next); in list_add()
73 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
75 __list_add(new, head->prev, head); in list_add_tail()
84 static inline void __list_add_rcu(struct list_head * new, in __list_add_rcu() argument
87 new->next = next; in __list_add_rcu()
88 new->prev = prev; in __list_add_rcu()
90 next->prev = new; in __list_add_rcu()
91 prev->next = new; in __list_add_rcu()
110 static inline void list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu() argument
112 __list_add_rcu(new, head, head->next); in list_add_rcu()
131 static inline void list_add_tail_rcu(struct list_head *new, in list_add_tail_rcu() argument
134 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu()
200 struct list_head *new) in list_replace() argument
202 new->next = old->next; in list_replace()
203 new->next->prev = new; in list_replace()
204 new->prev = old->prev; in list_replace()
205 new->prev->next = new; in list_replace()
209 struct list_head *new) in list_replace_init() argument
211 list_replace(old, new); in list_replace_init()
224 struct list_head *new) in list_replace_rcu() argument
226 new->next = old->next; in list_replace_rcu()
227 new->prev = old->prev; in list_replace_rcu()
229 new->next->prev = new; in list_replace_rcu()
230 new->prev->next = new; in list_replace_rcu()
676 struct hlist_node *new) in hlist_replace_rcu() argument
680 new->next = next; in hlist_replace_rcu()
681 new->pprev = old->pprev; in hlist_replace_rcu()
684 new->next->pprev = &new->next; in hlist_replace_rcu()
685 *new->pprev = new; in hlist_replace_rcu()