Home
last modified time | relevance | path

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

/linux-4.1.27/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
79 *pprev = next; in __hlist_nulls_del()
81 next->pprev = pprev; in __hlist_nulls_del()
87 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 *pprev = (struct hlist_bl_node *) in __hlist_bl_del()
98 ((unsigned long)*pprev & LIST_BL_LOCKMASK)); in __hlist_bl_del()
100 next->pprev = pprev; in __hlist_bl_del()
107 n->pprev = LIST_POISON2; in hlist_bl_del()
Drculist.h159 n->pprev = NULL; in hlist_del_init_rcu()
346 n->pprev = LIST_POISON2; in hlist_del_rcu()
362 new->pprev = old->pprev; in hlist_replace_rcu()
363 rcu_assign_pointer(*(struct hlist_node __rcu **)new->pprev, new); in hlist_replace_rcu()
365 new->next->pprev = &new->next; in hlist_replace_rcu()
366 old->pprev = LIST_POISON2; in hlist_replace_rcu()
374 #define hlist_pprev_rcu(node) (*((struct hlist_node __rcu **)((node)->pprev)))
401 n->pprev = &h->first; in hlist_add_head_rcu()
404 first->pprev = &n->next; in hlist_add_head_rcu()
428 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
618 *pprev = next; in __hlist_del()
620 next->pprev = pprev; in __hlist_del()
627 n->pprev = LIST_POISON2; in hlist_del()
643 first->pprev = &n->next; in hlist_add_head()
645 n->pprev = &h->first; in hlist_add_head()
652 n->pprev = next->pprev; in hlist_add_before()
654 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.h84 .pid_chain = { .next = NULL, .pprev = NULL }, \
92 .pprev = NULL, \
Drhashtable.h745 struct rhash_head __rcu **pprev; in __rhashtable_remove_fast() local
756 pprev = &tbl->buckets[hash]; in __rhashtable_remove_fast()
759 pprev = &he->next; in __rhashtable_remove_fast()
763 rcu_assign_pointer(*pprev, obj->next); in __rhashtable_remove_fast()
Dtypes.h194 struct hlist_node *next, **pprev; member
Dmm.h1289 struct vm_area_struct **pprev, unsigned long start,
1983 struct vm_area_struct **pprev);
/linux-4.1.27/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.c1442 struct hlist_node **pprev = old->fa_list.pprev; in fib_remove_alias() local
1443 struct fib_alias *fa = hlist_entry(pprev, typeof(*fa), fa_list.next); in fib_remove_alias()
1459 if (*pprev) in fib_remove_alias()
/linux-4.1.27/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.c1405 struct dst_entry *dst, **pprev; in icmp6_dst_gc() local
1409 pprev = &icmp6_dst_gc_list; in icmp6_dst_gc()
1411 while ((dst = *pprev) != NULL) { in icmp6_dst_gc()
1413 *pprev = dst->next; in icmp6_dst_gc()
1416 pprev = &dst->next; in icmp6_dst_gc()
1429 struct dst_entry *dst, **pprev; in icmp6_clean_all() local
1432 pprev = &icmp6_dst_gc_list; in icmp6_clean_all()
1433 while ((dst = *pprev) != NULL) { in icmp6_clean_all()
1436 *pprev = dst->next; in icmp6_clean_all()
1439 pprev = &dst->next; in icmp6_clean_all()
/linux-4.1.27/kernel/
Dtask_work.c55 struct callback_head **pprev = &task->task_works; in task_work_cancel() local
65 while ((work = ACCESS_ONCE(*pprev))) { in task_work_cancel()
68 pprev = &work->next; in task_work_cancel()
69 else if (cmpxchg(pprev, work, work->next) == work) in task_work_cancel()
Dfork.c392 struct vm_area_struct *mpnt, *tmp, *prev, **pprev; in dup_mmap() local
416 pprev = &mm->mmap; in dup_mmap()
484 *pprev = tmp; in dup_mmap()
485 pprev = &tmp->vm_next; in dup_mmap()
Dworkqueue.c1599 (worker->hentry.next || worker->hentry.pprev))) in worker_enter_idle()
/linux-4.1.27/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.1.27/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.1.27/mm/
Dmprotect.c256 mprotect_fixup(struct vm_area_struct *vma, struct vm_area_struct **pprev, in mprotect_fixup() argument
268 *pprev = vma; in mprotect_fixup()
292 *pprev = vma_merge(mm, *pprev, start, end, newflags, in mprotect_fixup()
294 if (*pprev) { in mprotect_fixup()
295 vma = *pprev; in mprotect_fixup()
299 *pprev = vma; in mprotect_fixup()
Dvmalloc.c2294 struct vmap_area **pprev) in pvm_find_next_prev() argument
2314 *pprev = node_to_va(rb_prev(&(*pnext)->rb_node)); in pvm_find_next_prev()
2316 *pprev = va; in pvm_find_next_prev()
2317 *pnext = node_to_va(rb_next(&(*pprev)->rb_node)); in pvm_find_next_prev()
2339 struct vmap_area **pprev, in pvm_determine_end() argument
2350 while (*pprev && (*pprev)->va_end > addr) { in pvm_determine_end()
2351 *pnext = *pprev; in pvm_determine_end()
2352 *pprev = node_to_va(rb_prev(&(*pnext)->rb_node)); in pvm_determine_end()
Dmmap.c554 unsigned long end, struct vm_area_struct **pprev, in find_vma_links() argument
579 *pprev = NULL; in find_vma_links()
581 *pprev = rb_entry(rb_prev, struct vm_area_struct, vm_rb); in find_vma_links()
2070 struct vm_area_struct **pprev) in find_vma_prev() argument
2076 *pprev = vma->vm_prev; in find_vma_prev()
2079 *pprev = NULL; in find_vma_prev()
2081 *pprev = rb_entry(rb_node, struct vm_area_struct, vm_rb); in find_vma_prev()
/linux-4.1.27/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.1.27/tools/include/linux/
Dtypes.h72 struct hlist_node *next, **pprev; member
/linux-4.1.27/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()
198 rcu_assign_pointer(*pprev, next); in rhashtable_rehash_one()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_capa.h244 LASSERT(!hnode->next && !hnode->pprev); in capa_put()
/linux-4.1.27/include/net/
Dsock.h538 node->pprev = NULL; in sk_node_init()
543 node->pprev = NULL; in sk_nulls_node_init()
932 memset(&sk->sk_node.pprev, 0, in sk_prot_clear_nulls()
933 size - offsetof(struct sock, sk_node.pprev)); in sk_prot_clear_nulls()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dhash.c367 dh->dh_tail = (hnd->pprev == &dh->dh_head.first) ? NULL : in cfs_hash_dh_hnode_del()
368 container_of(hnd->pprev, struct hlist_node, next); in cfs_hash_dh_hnode_del()
422 dh->dd_tail = (hnd->pprev == &dh->dd_head.first) ? NULL : in cfs_hash_dd_hnode_del()
423 container_of(hnd->pprev, struct hlist_node, next); in cfs_hash_dd_hnode_del()
/linux-4.1.27/net/netfilter/
Dnf_conntrack_core.c596 hash = *(unsigned long *)&ct->tuplehash[IP_CT_DIR_REPLY].hnnode.pprev; in __nf_conntrack_confirm()
827 ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode.pprev = NULL; in __nf_conntrack_alloc()
830 *(unsigned long *)(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode.pprev) = hash; in __nf_conntrack_alloc()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c89 && top->loh_hash.pprev == NULL); in lu_object_put()
/linux-4.1.27/fs/
Ddcache.c484 dentry->d_hash.pprev = NULL; in __d_drop()