Searched refs:pprev (Results 1 – 10 of 10) sorted by relevance
/include/linux/ |
D | list_bl.h | 39 struct hlist_bl_node *next, **pprev; member 47 h->pprev = NULL; in INIT_HLIST_BL_NODE() 54 return !h->pprev; in hlist_bl_unhashed() 84 first->pprev = &n->next; in hlist_bl_add_head() 85 n->pprev = &h->first; in hlist_bl_add_head() 92 struct hlist_bl_node **pprev = next->pprev; in hlist_bl_add_before() local 94 n->pprev = pprev; in hlist_bl_add_before() 96 next->pprev = &n->next; in hlist_bl_add_before() 99 WRITE_ONCE(*pprev, in hlist_bl_add_before() 101 ((uintptr_t)n | ((uintptr_t)*pprev & LIST_BL_LOCKMASK))); in hlist_bl_add_before() [all …]
|
D | list_nulls.h | 26 struct hlist_nulls_node *next, **pprev; member 69 return !h->pprev; in hlist_nulls_unhashed() 83 return !READ_ONCE(h->pprev); in hlist_nulls_unhashed_lockless() 97 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 100 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head() 106 struct hlist_nulls_node **pprev = n->pprev; in __hlist_nulls_del() local 108 WRITE_ONCE(*pprev, next); in __hlist_nulls_del() 110 WRITE_ONCE(next->pprev, pprev); in __hlist_nulls_del() 116 WRITE_ONCE(n->pprev, LIST_POISON2); in hlist_nulls_del()
|
D | rculist_nulls.h | 37 WRITE_ONCE(n->pprev, NULL); in hlist_nulls_del_init_rcu() 77 WRITE_ONCE(n->pprev, LIST_POISON2); in hlist_nulls_del_rcu() 105 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head_rcu() 108 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head_rcu() 141 n->pprev = &last->next; in hlist_nulls_add_tail_rcu() 151 n->pprev = &n->next; in hlist_nulls_add_fake()
|
D | rculist.h | 185 WRITE_ONCE(n->pprev, NULL); in hlist_del_init_rcu() 514 WRITE_ONCE(n->pprev, LIST_POISON2); in hlist_del_rcu() 530 WRITE_ONCE(new->pprev, old->pprev); in hlist_replace_rcu() 531 rcu_assign_pointer(*(struct hlist_node __rcu **)new->pprev, new); in hlist_replace_rcu() 533 WRITE_ONCE(new->next->pprev, &new->next); in hlist_replace_rcu() 534 WRITE_ONCE(old->pprev, LIST_POISON2); in hlist_replace_rcu() 554 WRITE_ONCE(node2->pprev, &left->first); in hlists_swap_heads_rcu() 555 WRITE_ONCE(node1->pprev, &right->first); in hlists_swap_heads_rcu() 563 #define hlist_pprev_rcu(node) (*((struct hlist_node __rcu **)((node)->pprev))) 590 WRITE_ONCE(n->pprev, &h->first); in hlist_add_head_rcu() [all …]
|
D | rculist_bl.h | 49 n->pprev = LIST_POISON2; in hlist_bl_del_rcu() 81 first->pprev = &n->next; in hlist_bl_add_head_rcu() 82 n->pprev = &h->first; in hlist_bl_add_head_rcu()
|
D | list.h | 813 h->pprev = NULL; in INIT_HLIST_NODE() 826 return !h->pprev; in hlist_unhashed() 839 return !READ_ONCE(h->pprev); in hlist_unhashed_lockless() 854 struct hlist_node **pprev = n->pprev; in __hlist_del() local 856 WRITE_ONCE(*pprev, next); in __hlist_del() 858 WRITE_ONCE(next->pprev, pprev); in __hlist_del() 872 n->pprev = LIST_POISON2; in hlist_del() 902 WRITE_ONCE(first->pprev, &n->next); in hlist_add_head() 904 WRITE_ONCE(n->pprev, &h->first); in hlist_add_head() 915 WRITE_ONCE(n->pprev, next->pprev); in hlist_add_before() [all …]
|
D | rhashtable.h | 706 struct rhash_head __rcu **pprev; in __rhashtable_insert_fast() local 722 pprev = NULL; in __rhashtable_insert_fast() 741 pprev = &head->next; in __rhashtable_insert_fast() 757 if (pprev) { in __rhashtable_insert_fast() 758 rcu_assign_pointer(*pprev, obj); in __rhashtable_insert_fast() 992 struct rhash_head __rcu **pprev; in __rhashtable_remove_fast_one() local 1001 pprev = NULL; in __rhashtable_remove_fast_one() 1012 pprev = &he->next; in __rhashtable_remove_fast_one() 1044 if (pprev) { in __rhashtable_remove_fast_one() 1045 rcu_assign_pointer(*pprev, obj); in __rhashtable_remove_fast_one() [all …]
|
D | types.h | 187 struct hlist_node *next, **pprev; member
|
D | mm.h | 1966 struct vm_area_struct **pprev, unsigned long start, 2753 struct vm_area_struct **pprev);
|
/include/net/ |
D | sock.h | 715 node->pprev = NULL; in sk_node_init() 720 node->pprev = NULL; in sk_nulls_node_init() 1188 memset(&sk->sk_node.pprev, 0, in sk_prot_clear_nulls() 1189 size - offsetof(struct sock, sk_node.pprev)); in sk_prot_clear_nulls()
|