Searched refs:pprev (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/scripts/kconfig/
H A Dlist_types.h14 struct hlist_node *next, **pprev; member in struct:hlist_node
H A Dlist.h233 first->pprev = &n->next;
235 n->pprev = &h->first;
/linux-master/include/linux/
H A Dlist_nulls.h26 struct hlist_nulls_node *next, **pprev; member in struct:hlist_nulls_node
69 return !h->pprev;
83 return !READ_ONCE(h->pprev);
97 WRITE_ONCE(n->pprev, &h->first);
100 WRITE_ONCE(first->pprev, &n->next);
106 struct hlist_nulls_node **pprev = n->pprev; local
108 WRITE_ONCE(*pprev, next);
110 WRITE_ONCE(next->pprev, pprev);
[all...]
H A Dlist_bl.h39 struct hlist_bl_node *next, **pprev; member in struct:hlist_bl_node
47 h->pprev = NULL;
54 return !h->pprev;
84 first->pprev = &n->next;
85 n->pprev = &h->first;
92 struct hlist_bl_node **pprev = next->pprev; local
94 n->pprev = pprev;
96 next->pprev
118 struct hlist_bl_node **pprev = n->pprev; local
[all...]
H A Drculist_nulls.h23 * zero the pprev pointer so list_unhashed() will return true after
37 WRITE_ONCE(n->pprev, NULL);
77 WRITE_ONCE(n->pprev, LIST_POISON2);
105 WRITE_ONCE(n->pprev, &h->first);
108 WRITE_ONCE(first->pprev, &n->next);
141 n->pprev = &last->next;
151 n->pprev = &n->next;
H A Drculist_bl.h49 n->pprev = LIST_POISON2;
81 first->pprev = &n->next;
82 n->pprev = &h->first;
H A Drculist.h171 * zero the pprev pointer so list_unhashed() will return true after
185 WRITE_ONCE(n->pprev, NULL);
514 WRITE_ONCE(n->pprev, LIST_POISON2);
530 WRITE_ONCE(new->pprev, old->pprev);
531 rcu_assign_pointer(*(struct hlist_node __rcu **)new->pprev, new);
533 WRITE_ONCE(new->next->pprev, &new->next);
534 WRITE_ONCE(old->pprev, LIST_POISON2);
554 WRITE_ONCE(node2->pprev, &left->first);
555 WRITE_ONCE(node1->pprev,
[all...]
H A Dlist.h945 h->pprev = NULL;
958 return !h->pprev;
971 return !READ_ONCE(h->pprev);
986 struct hlist_node **pprev = n->pprev; local
988 WRITE_ONCE(*pprev, next);
990 WRITE_ONCE(next->pprev, pprev);
1004 n->pprev = LIST_POISON2;
1034 WRITE_ONCE(first->pprev,
[all...]
H A Drhashtable.h714 struct rhash_head __rcu **pprev; local
731 pprev = NULL;
750 pprev = &head->next;
766 if (pprev) {
767 rcu_assign_pointer(*pprev, obj);
1001 struct rhash_head __rcu **pprev; local
1011 pprev = NULL;
1022 pprev = &he->next;
1054 if (pprev) {
1055 rcu_assign_pointer(*pprev, ob
1154 struct rhash_head __rcu **pprev; local
[all...]
H A Dtypes.h202 struct hlist_node *next, **pprev; member in struct:hlist_node
H A Dpreempt.h365 notifier->link.pprev = NULL;
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_arena_list.h12 arena_list_node_t * __arena *pprev; member in struct:arena_list_node
54 WRITE_ONCE(first->pprev, tmp);
62 WRITE_ONCE(n->pprev, tmp);
68 arena_list_node_t * __arena *pprev = n->pprev; local
71 cast_kern(pprev);
72 tmp = *pprev;
76 cast_user(pprev);
78 WRITE_ONCE(next->pprev, pprev);
[all...]
/linux-master/kernel/
H A Dtask_work.c91 struct callback_head **pprev = &task->task_works; local
98 * If cmpxchg() fails we continue without updating pprev.
101 * we raced with task_work_run(), *pprev == NULL/exited.
104 work = READ_ONCE(*pprev);
107 pprev = &work->next;
108 work = READ_ONCE(*pprev);
109 } else if (try_cmpxchg(pprev, &work, work->next))
/linux-master/net/ipv6/
H A Dtunnel6.c34 struct xfrm6_tunnel __rcu **pprev; local
43 pprev = &tunnel6_handlers;
46 pprev = &tunnel46_handlers;
49 pprev = &tunnelmpls6_handlers;
55 for (; (t = rcu_dereference_protected(*pprev,
57 pprev = &t->next) {
64 handler->next = *pprev;
65 rcu_assign_pointer(*pprev, handler);
78 struct xfrm6_tunnel __rcu **pprev; local
86 pprev
[all...]
H A Dxfrm6_protocol.c236 struct xfrm6_protocol __rcu **pprev; local
251 for (pprev = proto_handlers(protocol);
252 (t = rcu_dereference_protected(*pprev,
254 pprev = &t->next) {
261 handler->next = *pprev;
262 rcu_assign_pointer(*pprev, handler);
283 struct xfrm6_protocol __rcu **pprev; local
292 for (pprev = proto_handlers(protocol);
293 (t = rcu_dereference_protected(*pprev,
295 pprev
[all...]
/linux-master/net/ipv4/
H A Dxfrm4_protocol.c220 struct xfrm4_protocol __rcu **pprev; local
235 for (pprev = proto_handlers(protocol);
236 (t = rcu_dereference_protected(*pprev,
238 pprev = &t->next) {
245 handler->next = *pprev;
246 rcu_assign_pointer(*pprev, handler);
267 struct xfrm4_protocol __rcu **pprev; local
276 for (pprev = proto_handlers(protocol);
277 (t = rcu_dereference_protected(*pprev,
279 pprev
[all...]
H A Dtunnel4.c33 struct xfrm_tunnel __rcu **pprev; local
41 for (pprev = fam_handlers(family);
42 (t = rcu_dereference_protected(*pprev,
44 pprev = &t->next) {
51 handler->next = *pprev;
52 rcu_assign_pointer(*pprev, handler);
65 struct xfrm_tunnel __rcu **pprev; local
71 for (pprev = fam_handlers(family);
72 (t = rcu_dereference_protected(*pprev,
74 pprev
[all...]
/linux-master/tools/lib/bpf/
H A Dhashmap.c24 static void hashmap_add_entry(struct hashmap_entry **pprev, argument
27 entry->next = *pprev;
28 *pprev = entry;
31 static void hashmap_del_entry(struct hashmap_entry **pprev, argument
34 *pprev = entry->next;
132 struct hashmap_entry ***pprev,
144 if (pprev)
145 *pprev = prev_ptr;
223 struct hashmap_entry **pprev, *entry; local
227 if (!hashmap_find_entry(map, key, h, &pprev,
130 hashmap_find_entry(const struct hashmap *map, const long key, size_t hash, struct hashmap_entry ***pprev, struct hashmap_entry **entry) argument
[all...]
/linux-master/tools/perf/util/
H A Dhashmap.c24 static void hashmap_add_entry(struct hashmap_entry **pprev, argument
27 entry->next = *pprev;
28 *pprev = entry;
31 static void hashmap_del_entry(struct hashmap_entry **pprev, argument
34 *pprev = entry->next;
132 struct hashmap_entry ***pprev,
144 if (pprev)
145 *pprev = prev_ptr;
223 struct hashmap_entry **pprev, *entry; local
227 if (!hashmap_find_entry(map, key, h, &pprev,
130 hashmap_find_entry(const struct hashmap *map, const long key, size_t hash, struct hashmap_entry ***pprev, struct hashmap_entry **entry) argument
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_ordering.c38 struct hlist_node **pprev; member in struct:hlist_node
/linux-master/tools/include/linux/
H A Dlist.h612 h->pprev = NULL;
617 return !h->pprev;
628 struct hlist_node **pprev = n->pprev; local
630 WRITE_ONCE(*pprev, next);
632 next->pprev = pprev;
639 n->pprev = LIST_POISON2;
655 first->pprev = &n->next;
657 n->pprev
[all...]
H A Dtypes.h98 struct hlist_node *next, **pprev; member in struct:hlist_node
/linux-master/lib/
H A Drhashtable.c232 struct rhash_head __rcu **pprev = NULL; local
249 pprev = &entry->next;
266 if (pprev)
267 rcu_assign_pointer(*pprev, next);
499 struct rhash_head __rcu **pprev = NULL; local
513 pprev = &head->next;
526 if (pprev)
527 rcu_assign_pointer(*pprev, obj);
/linux-master/mm/
H A Dmprotect.c578 struct vm_area_struct *vma, struct vm_area_struct **pprev,
589 *pprev = vma;
635 vma = vma_modify_flags(vmi, *pprev, vma, start, end, newflags);
641 *pprev = vma;
577 mprotect_fixup(struct vma_iterator *vmi, struct mmu_gather *tlb, struct vm_area_struct *vma, struct vm_area_struct **pprev, unsigned long start, unsigned long end, unsigned long newflags) argument
/linux-master/drivers/of/
H A Dfdt.c122 struct property *pp, **pprev = NULL; local
126 pprev = &np->properties;
175 *pprev = pp;
176 pprev = &pp->next;
203 *pprev = pp;

Completed in 1399 milliseconds

12