Lines Matching refs:next
39 #define list_next_rcu(head) (*((struct list_head **)(&(head)->next)))
43 for (pos = list_entry_rcu((head)->next, typeof(*(pos)), member); \
45 pos = list_entry_rcu((pos)->member.next, typeof(*(pos)), member))
52 struct list_head *next) in linux_list_add_rcu() argument
54 new->next = next; in linux_list_add_rcu()
57 next->prev = new; in linux_list_add_rcu()
63 linux_list_add_rcu(new, head, head->next); in list_add_rcu()
73 __list_del_rcu(struct list_head *prev, struct list_head *next) in __list_del_rcu() argument
75 next->prev = prev; in __list_del_rcu()
76 rcu_assign_pointer(list_next_rcu(prev), next); in __list_del_rcu()
82 __list_del_rcu(entry->prev, entry->next); in __list_del_entry_rcu()
88 __list_del_rcu(entry->prev, entry->next); in list_del_rcu()
92 #define hlist_next_rcu(node) (*((struct hlist_node **)(&(node)->next)))
98 n->next = prev->next; in hlist_add_behind_rcu()
99 n->pprev = &prev->next; in hlist_add_behind_rcu()
101 if (n->next) in hlist_add_behind_rcu()
102 n->next->pprev = &n->next; in hlist_add_behind_rcu()
115 struct hlist_node *next = n->next; in hlist_del_rcu() local
118 WRITE_ONCE(*pprev, next); in hlist_del_rcu()
119 if (next) in hlist_del_rcu()
120 next->pprev = pprev; in hlist_del_rcu()
128 n->next = first; in hlist_add_head_rcu()
132 first->pprev = &n->next; in hlist_add_head_rcu()