Home
last modified time | relevance | path

Searched refs:pprev (Results 1 – 34 of 34) sorted by relevance

/linux-4.4.14/include/linux/
Dlist_nulls.h25 struct hlist_nulls_node *next, **pprev; member
55 return !h->pprev; in hlist_nulls_unhashed()
69 n->pprev = &h->first; in hlist_nulls_add_head()
72 first->pprev = &n->next; in hlist_nulls_add_head()
78 struct hlist_nulls_node **pprev = n->pprev; in __hlist_nulls_del() local
80 WRITE_ONCE(*pprev, next); in __hlist_nulls_del()
82 next->pprev = pprev; in __hlist_nulls_del()
88 n->pprev = LIST_POISON2; in hlist_nulls_del()
Dlist_bl.h38 struct hlist_bl_node *next, **pprev; member
46 h->pprev = NULL; in INIT_HLIST_BL_NODE()
53 return !h->pprev; in hlist_bl_unhashed()
83 first->pprev = &n->next; in hlist_bl_add_head()
84 n->pprev = &h->first; in hlist_bl_add_head()
91 struct hlist_bl_node **pprev = n->pprev; in __hlist_bl_del() local
96 WRITE_ONCE(*pprev, in __hlist_bl_del()
99 ((unsigned long)*pprev & LIST_BL_LOCKMASK))); in __hlist_bl_del()
101 next->pprev = pprev; in __hlist_bl_del()
108 n->pprev = LIST_POISON2; in hlist_bl_del()
Drculist.h159 n->pprev = NULL; in hlist_del_init_rcu()
343 n->pprev = LIST_POISON2; in hlist_del_rcu()
359 new->pprev = old->pprev; in hlist_replace_rcu()
360 rcu_assign_pointer(*(struct hlist_node __rcu **)new->pprev, new); in hlist_replace_rcu()
362 new->next->pprev = &new->next; in hlist_replace_rcu()
363 old->pprev = LIST_POISON2; in hlist_replace_rcu()
371 #define hlist_pprev_rcu(node) (*((struct hlist_node __rcu **)((node)->pprev)))
398 n->pprev = &h->first; in hlist_add_head_rcu()
401 first->pprev = &n->next; in hlist_add_head_rcu()
425 n->pprev = next->pprev; in hlist_add_before_rcu()
[all …]
Dlist.h601 h->pprev = NULL; in INIT_HLIST_NODE()
606 return !h->pprev; in hlist_unhashed()
617 struct hlist_node **pprev = n->pprev; in __hlist_del() local
619 WRITE_ONCE(*pprev, next); in __hlist_del()
621 next->pprev = pprev; in __hlist_del()
628 n->pprev = LIST_POISON2; in hlist_del()
644 first->pprev = &n->next; in hlist_add_head()
646 n->pprev = &h->first; in hlist_add_head()
653 n->pprev = next->pprev; in hlist_add_before()
655 next->pprev = &n->next; in hlist_add_before()
[all …]
Drculist_nulls.h36 n->pprev = NULL; in hlist_nulls_del_init_rcu()
68 n->pprev = LIST_POISON2; in hlist_nulls_del_rcu()
96 n->pprev = &h->first; in hlist_nulls_add_head_rcu()
99 first->pprev = &n->next; in hlist_nulls_add_head_rcu()
Drculist_bl.h50 n->pprev = NULL; in hlist_bl_del_init_rcu()
76 n->pprev = LIST_POISON2; in hlist_bl_del_rcu()
108 first->pprev = &n->next; in hlist_bl_add_head_rcu()
109 n->pprev = &h->first; in hlist_bl_add_head_rcu()
Dinit_task.h85 .pid_chain = { .next = NULL, .pprev = NULL }, \
93 .pprev = NULL, \
Drhashtable.h749 struct rhash_head __rcu **pprev; in __rhashtable_remove_fast() local
760 pprev = &tbl->buckets[hash]; in __rhashtable_remove_fast()
763 pprev = &he->next; in __rhashtable_remove_fast()
767 rcu_assign_pointer(*pprev, obj->next); in __rhashtable_remove_fast()
Dtypes.h194 struct hlist_node *next, **pprev; member
Dtimer.h165 return timer->entry.pprev != NULL; in timer_pending()
Dmm.h1325 struct vm_area_struct **pprev, unsigned long start,
2030 struct vm_area_struct **pprev);
/linux-4.4.14/net/ipv4/
Dtunnel4.c28 struct xfrm_tunnel __rcu **pprev; in xfrm4_tunnel_register() local
36 for (pprev = fam_handlers(family); in xfrm4_tunnel_register()
37 (t = rcu_dereference_protected(*pprev, in xfrm4_tunnel_register()
39 pprev = &t->next) { in xfrm4_tunnel_register()
46 handler->next = *pprev; in xfrm4_tunnel_register()
47 rcu_assign_pointer(*pprev, handler); in xfrm4_tunnel_register()
60 struct xfrm_tunnel __rcu **pprev; in xfrm4_tunnel_deregister() local
66 for (pprev = fam_handlers(family); in xfrm4_tunnel_deregister()
67 (t = rcu_dereference_protected(*pprev, in xfrm4_tunnel_deregister()
69 pprev = &t->next) { in xfrm4_tunnel_deregister()
[all …]
Dxfrm4_protocol.c214 struct xfrm4_protocol __rcu **pprev; in xfrm4_protocol_register() local
229 for (pprev = proto_handlers(protocol); in xfrm4_protocol_register()
230 (t = rcu_dereference_protected(*pprev, in xfrm4_protocol_register()
232 pprev = &t->next) { in xfrm4_protocol_register()
239 handler->next = *pprev; in xfrm4_protocol_register()
240 rcu_assign_pointer(*pprev, handler); in xfrm4_protocol_register()
261 struct xfrm4_protocol __rcu **pprev; in xfrm4_protocol_deregister() local
270 for (pprev = proto_handlers(protocol); in xfrm4_protocol_deregister()
271 (t = rcu_dereference_protected(*pprev, in xfrm4_protocol_deregister()
273 pprev = &t->next) { in xfrm4_protocol_deregister()
[all …]
Dfib_trie.c1464 struct hlist_node **pprev = old->fa_list.pprev; in fib_remove_alias() local
1465 struct fib_alias *fa = hlist_entry(pprev, typeof(*fa), fa_list.next); in fib_remove_alias()
1481 if (*pprev) in fib_remove_alias()
/linux-4.4.14/net/ipv6/
Dtunnel6.c40 struct xfrm6_tunnel __rcu **pprev; in xfrm6_tunnel_register() local
47 for (pprev = (family == AF_INET6) ? &tunnel6_handlers : &tunnel46_handlers; in xfrm6_tunnel_register()
48 (t = rcu_dereference_protected(*pprev, in xfrm6_tunnel_register()
50 pprev = &t->next) { in xfrm6_tunnel_register()
57 handler->next = *pprev; in xfrm6_tunnel_register()
58 rcu_assign_pointer(*pprev, handler); in xfrm6_tunnel_register()
71 struct xfrm6_tunnel __rcu **pprev; in xfrm6_tunnel_deregister() local
77 for (pprev = (family == AF_INET6) ? &tunnel6_handlers : &tunnel46_handlers; in xfrm6_tunnel_deregister()
78 (t = rcu_dereference_protected(*pprev, in xfrm6_tunnel_deregister()
80 pprev = &t->next) { in xfrm6_tunnel_deregister()
[all …]
Dxfrm6_protocol.c188 struct xfrm6_protocol __rcu **pprev; in xfrm6_protocol_register() local
203 for (pprev = proto_handlers(protocol); in xfrm6_protocol_register()
204 (t = rcu_dereference_protected(*pprev, in xfrm6_protocol_register()
206 pprev = &t->next) { in xfrm6_protocol_register()
213 handler->next = *pprev; in xfrm6_protocol_register()
214 rcu_assign_pointer(*pprev, handler); in xfrm6_protocol_register()
235 struct xfrm6_protocol __rcu **pprev; in xfrm6_protocol_deregister() local
244 for (pprev = proto_handlers(protocol); in xfrm6_protocol_deregister()
245 (t = rcu_dereference_protected(*pprev, in xfrm6_protocol_deregister()
247 pprev = &t->next) { in xfrm6_protocol_deregister()
[all …]
Droute.c1631 struct dst_entry *dst, **pprev; in icmp6_dst_gc() local
1635 pprev = &icmp6_dst_gc_list; in icmp6_dst_gc()
1637 while ((dst = *pprev) != NULL) { in icmp6_dst_gc()
1639 *pprev = dst->next; in icmp6_dst_gc()
1642 pprev = &dst->next; in icmp6_dst_gc()
1655 struct dst_entry *dst, **pprev; in icmp6_clean_all() local
1658 pprev = &icmp6_dst_gc_list; in icmp6_clean_all()
1659 while ((dst = *pprev) != NULL) { in icmp6_clean_all()
1662 *pprev = dst->next; in icmp6_clean_all()
1665 pprev = &dst->next; in icmp6_clean_all()
/linux-4.4.14/kernel/
Dtask_work.c57 struct callback_head **pprev = &task->task_works; in task_work_cancel() local
67 while ((work = ACCESS_ONCE(*pprev))) { in task_work_cancel()
70 pprev = &work->next; in task_work_cancel()
71 else if (cmpxchg(pprev, work, work->next) == work) in task_work_cancel()
Dfork.c399 struct vm_area_struct *mpnt, *tmp, *prev, **pprev; in dup_mmap() local
423 pprev = &mm->mmap; in dup_mmap()
493 *pprev = tmp; in dup_mmap()
494 pprev = &tmp->vm_next; in dup_mmap()
Dworkqueue.c1594 (worker->hentry.next || worker->hentry.pprev))) in worker_enter_idle()
/linux-4.4.14/arch/frv/mm/
Dpgalloc.c101 struct page *next, **pprev, *page = virt_to_page(pgd); in pgd_list_del() local
103 pprev = (struct page **) page_private(page); in pgd_list_del()
104 *pprev = next; in pgd_list_del()
106 set_page_private(next, (unsigned long) pprev); in pgd_list_del()
/linux-4.4.14/arch/mn10300/mm/
Dpgtable.c120 struct page *next, **pprev, *page = virt_to_page(pgd); in pgd_list_del() local
122 pprev = (struct page **) page_private(page); in pgd_list_del()
123 *pprev = next; in pgd_list_del()
125 set_page_private(next, (unsigned long) pprev); in pgd_list_del()
/linux-4.4.14/mm/
Dmprotect.c258 mprotect_fixup(struct vm_area_struct *vma, struct vm_area_struct **pprev, in mprotect_fixup() argument
270 *pprev = vma; in mprotect_fixup()
294 *pprev = vma_merge(mm, *pprev, start, end, newflags, in mprotect_fixup()
297 if (*pprev) { in mprotect_fixup()
298 vma = *pprev; in mprotect_fixup()
302 *pprev = vma; in mprotect_fixup()
Dvmalloc.c2295 struct vmap_area **pprev) in pvm_find_next_prev() argument
2315 *pprev = node_to_va(rb_prev(&(*pnext)->rb_node)); in pvm_find_next_prev()
2317 *pprev = va; in pvm_find_next_prev()
2318 *pnext = node_to_va(rb_next(&(*pprev)->rb_node)); in pvm_find_next_prev()
2340 struct vmap_area **pprev, in pvm_determine_end() argument
2351 while (*pprev && (*pprev)->va_end > addr) { in pvm_determine_end()
2352 *pnext = *pprev; in pvm_determine_end()
2353 *pprev = node_to_va(rb_prev(&(*pnext)->rb_node)); in pvm_determine_end()
Dmmap.c555 unsigned long end, struct vm_area_struct **pprev, in find_vma_links() argument
580 *pprev = NULL; in find_vma_links()
582 *pprev = rb_entry(rb_prev, struct vm_area_struct, vm_rb); in find_vma_links()
2079 struct vm_area_struct **pprev) in find_vma_prev() argument
2085 *pprev = vma->vm_prev; in find_vma_prev()
2088 *pprev = NULL; in find_vma_prev()
2090 *pprev = rb_entry(rb_node, struct vm_area_struct, vm_rb); in find_vma_prev()
/linux-4.4.14/arch/avr32/kernel/
Dsetup.c110 struct resource *new, *next, **pprev; in add_physical_memory() local
112 for (pprev = &system_ram, next = system_ram; next; in add_physical_memory()
113 pprev = &next->sibling, next = next->sibling) { in add_physical_memory()
139 *pprev = new; in add_physical_memory()
146 struct resource *new, *next, **pprev; in add_reserved_region() local
154 for (pprev = &reserved, next = reserved; next; in add_reserved_region()
155 pprev = &next->sibling, next = next->sibling) { in add_reserved_region()
169 *pprev = new; in add_reserved_region()
/linux-4.4.14/tools/include/linux/
Dtypes.h80 struct hlist_node *next, **pprev; member
/linux-4.4.14/lib/
Drhashtable.c163 struct rhash_head __rcu **pprev = &old_tbl->buckets[old_hash]; in rhashtable_rehash_one() local
176 pprev = &entry->next; in rhashtable_rehash_one()
195 rcu_assign_pointer(*pprev, next); in rhashtable_rehash_one()
/linux-4.4.14/kernel/time/
Dtimer.c533 if (timer->entry.pprev == NULL && in timer_fixup_activate()
682 timer->entry.pprev = NULL; in do_init_timer()
720 entry->pprev = NULL; in detach_timer()
/linux-4.4.14/include/net/
Dsock.h556 node->pprev = NULL; in sk_node_init()
561 node->pprev = NULL; in sk_nulls_node_init()
950 memset(&sk->sk_node.pprev, 0, in sk_prot_clear_nulls()
951 size - offsetof(struct sock, sk_node.pprev)); in sk_prot_clear_nulls()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c374 dh->dh_tail = (hnd->pprev == &dh->dh_head.first) ? NULL : in cfs_hash_dh_hnode_del()
375 container_of(hnd->pprev, struct hlist_node, next); in cfs_hash_dh_hnode_del()
431 dh->dd_tail = (hnd->pprev == &dh->dd_head.first) ? NULL : in cfs_hash_dd_hnode_del()
432 container_of(hnd->pprev, struct hlist_node, next); in cfs_hash_dd_hnode_del()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_core.c615 hash = *(unsigned long *)&ct->tuplehash[IP_CT_DIR_REPLY].hnnode.pprev; in __nf_conntrack_confirm()
851 ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode.pprev = NULL; in __nf_conntrack_alloc()
854 *(unsigned long *)(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode.pprev) = hash; in __nf_conntrack_alloc()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c90 && top->loh_hash.pprev == NULL); in lu_object_put()
/linux-4.4.14/fs/
Ddcache.c484 dentry->d_hash.pprev = NULL; in __d_drop()