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))
49 struct list_head *next)
51 new->next = next;
54 next->prev = new;
60 linux_list_add_rcu(new, head, head->next);
70 __list_del_rcu(struct list_head *prev, struct list_head *next)
72 next->prev = prev;
73 rcu_assign_pointer(list_next_rcu(prev), next);
79 __list_del_rcu(entry->prev, entry->next);
85 __list_del_rcu(entry->prev, entry->next);
89 #define hlist_next_rcu(node) (*((struct hlist_node **)(&(node)->next)))
95 n->next = prev->next;
96 n->pprev = &prev->next;
98 if (n->next)
99 n->next->pprev = &n->next;
112 struct hlist_node *next = n->next;
115 WRITE_ONCE(*pprev, next);
116 if (next)
117 next->pprev = pprev;
125 n->next = first;
129 first->pprev = &n->next;