Lines Matching refs:next
33 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD_RCU()
41 #define list_next_rcu(list) (*((struct list_head __rcu **)(&(list)->next)))
50 struct list_head *prev, struct list_head *next) in __list_add_rcu() argument
52 if (!__list_add_valid(new, prev, next)) in __list_add_rcu()
55 new->next = next; in __list_add_rcu()
58 next->prev = new; in __list_add_rcu()
79 __list_add_rcu(new, head, head->next); in list_add_rcu()
173 new->next = old->next; in list_replace_rcu()
176 new->next->prev = new; in list_replace_rcu()
201 struct list_head *next, in __list_splice_init_rcu() argument
204 struct list_head *first = list->next; in __list_splice_init_rcu()
232 last->next = next; in __list_splice_init_rcu()
235 next->prev = last; in __list_splice_init_rcu()
250 __list_splice_init_rcu(list, head, head->next, sync); in list_splice_init_rcu()
316 struct list_head *__next = READ_ONCE(__ptr->next); \
336 struct list_head *__next = READ_ONCE(__ptr->next); \
352 for (pos = list_entry_rcu((head)->next, typeof(*pos), member); \
354 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
388 for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \
390 pos = list_entry_lockless(pos->member.next, typeof(*pos), member))
411 for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \
413 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
434 pos = list_entry_rcu(pos->member.next, typeof(*(pos)), member))
471 struct hlist_node *next = old->next; in hlist_replace_rcu() local
473 new->next = next; in hlist_replace_rcu()
476 if (next) in hlist_replace_rcu()
477 new->next->pprev = &new->next; in hlist_replace_rcu()
485 #define hlist_next_rcu(node) (*((struct hlist_node __rcu **)(&(node)->next)))
512 n->next = first; in hlist_add_head_rcu()
516 first->pprev = &n->next; in hlist_add_head_rcu()
544 for (i = h->first; i; i = i->next) in hlist_add_tail_rcu()
548 n->next = last->next; in hlist_add_tail_rcu()
549 n->pprev = &last->next; in hlist_add_tail_rcu()
575 struct hlist_node *next) in hlist_add_before_rcu() argument
577 n->pprev = next->pprev; in hlist_add_before_rcu()
578 n->next = next; in hlist_add_before_rcu()
580 next->pprev = &n->next; in hlist_add_before_rcu()
604 n->next = prev->next; in hlist_add_behind_rcu()
605 n->pprev = &prev->next; in hlist_add_behind_rcu()
607 if (n->next) in hlist_add_behind_rcu()
608 n->next->pprev = &n->next; in hlist_add_behind_rcu()