Lines Matching refs:next
25 #define list_next_rcu(list) (*((struct list_head __rcu **)(&(list)->next)))
34 struct list_head *prev, struct list_head *next) in __list_add_rcu() argument
36 new->next = next; in __list_add_rcu()
39 next->prev = new; in __list_add_rcu()
60 __list_add_rcu(new, head, head->next); in list_add_rcu()
111 __list_del(entry->prev, entry->next); in list_del_rcu()
154 new->next = old->next; in list_replace_rcu()
157 new->next->prev = new; in list_replace_rcu()
182 struct list_head *first = list->next; in list_splice_init_rcu()
184 struct list_head *at = head->next; in list_splice_init_rcu()
210 last->next = at; in list_splice_init_rcu()
242 list_entry_rcu((ptr)->next, type, member)
257 struct list_head *__next = ACCESS_ONCE(__ptr->next); \
273 for (pos = list_entry_rcu((head)->next, typeof(*pos), member); \
275 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
304 for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \
306 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
343 struct hlist_node *next = old->next; in hlist_replace_rcu() local
345 new->next = next; in hlist_replace_rcu()
348 if (next) in hlist_replace_rcu()
349 new->next->pprev = &new->next; in hlist_replace_rcu()
357 #define hlist_next_rcu(node) (*((struct hlist_node __rcu **)(&(node)->next)))
384 n->next = first; in hlist_add_head_rcu()
388 first->pprev = &n->next; in hlist_add_head_rcu()
410 struct hlist_node *next) in hlist_add_before_rcu() argument
412 n->pprev = next->pprev; in hlist_add_before_rcu()
413 n->next = next; in hlist_add_before_rcu()
415 next->pprev = &n->next; in hlist_add_before_rcu()
439 n->next = prev->next; in hlist_add_after_rcu()
440 n->pprev = &prev->next; in hlist_add_after_rcu()
442 if (n->next) in hlist_add_after_rcu()
443 n->next->pprev = &n->next; in hlist_add_after_rcu()
483 pos = rcu_dereference_bh(pos->next))
492 for (pos = rcu_dereference((pos)->next); \
495 pos = rcu_dereference(pos->next))
504 for (pos = rcu_dereference_bh((pos)->next); \
507 pos = rcu_dereference_bh(pos->next))