• Home
  • Raw
  • Download

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)))
68 struct list_head *prev, struct list_head *next) in __list_add_rcu() argument
70 if (!__list_add_valid(new, prev, next)) in __list_add_rcu()
73 new->next = next; in __list_add_rcu()
76 next->prev = new; in __list_add_rcu()
97 __list_add_rcu(new, head, head->next); in list_add_rcu()
191 new->next = old->next; in list_replace_rcu()
194 new->next->prev = new; in list_replace_rcu()
219 struct list_head *next, in __list_splice_init_rcu() argument
222 struct list_head *first = list->next; in __list_splice_init_rcu()
250 last->next = next; in __list_splice_init_rcu()
253 next->prev = last; in __list_splice_init_rcu()
268 __list_splice_init_rcu(list, head, head->next, sync); in list_splice_init_rcu()
334 struct list_head *__next = READ_ONCE(__ptr->next); \
354 struct list_head *__next = READ_ONCE(__ptr->next); \
372 pos = list_entry_rcu((head)->next, typeof(*pos), member); \
374 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
406 for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \
408 pos = list_entry_lockless(pos->member.next, typeof(*pos), member))
429 for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \
431 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
452 pos = list_entry_rcu(pos->member.next, typeof(*(pos)), member))
489 struct hlist_node *next = old->next; in hlist_replace_rcu() local
491 new->next = next; in hlist_replace_rcu()
494 if (next) in hlist_replace_rcu()
495 new->next->pprev = &new->next; in hlist_replace_rcu()
503 #define hlist_next_rcu(node) (*((struct hlist_node __rcu **)(&(node)->next)))
530 n->next = first; in hlist_add_head_rcu()
534 first->pprev = &n->next; in hlist_add_head_rcu()
562 for (i = h->first; i; i = i->next) in hlist_add_tail_rcu()
566 n->next = last->next; in hlist_add_tail_rcu()
567 n->pprev = &last->next; in hlist_add_tail_rcu()
593 struct hlist_node *next) in hlist_add_before_rcu() argument
595 n->pprev = next->pprev; in hlist_add_before_rcu()
596 n->next = next; in hlist_add_before_rcu()
598 next->pprev = &n->next; in hlist_add_before_rcu()
622 n->next = prev->next; in hlist_add_behind_rcu()
623 n->pprev = &prev->next; in hlist_add_behind_rcu()
625 if (n->next) in hlist_add_behind_rcu()
626 n->next->pprev = &n->next; in hlist_add_behind_rcu()