Lines Matching refs:pprev
34 struct xfrm6_tunnel __rcu **pprev; in xfrm6_tunnel_register() local
43 pprev = &tunnel6_handlers; in xfrm6_tunnel_register()
46 pprev = &tunnel46_handlers; in xfrm6_tunnel_register()
49 pprev = &tunnelmpls6_handlers; in xfrm6_tunnel_register()
55 for (; (t = rcu_dereference_protected(*pprev, in xfrm6_tunnel_register()
57 pprev = &t->next) { in xfrm6_tunnel_register()
64 handler->next = *pprev; in xfrm6_tunnel_register()
65 rcu_assign_pointer(*pprev, handler); in xfrm6_tunnel_register()
78 struct xfrm6_tunnel __rcu **pprev; in xfrm6_tunnel_deregister() local
86 pprev = &tunnel6_handlers; in xfrm6_tunnel_deregister()
89 pprev = &tunnel46_handlers; in xfrm6_tunnel_deregister()
92 pprev = &tunnelmpls6_handlers; in xfrm6_tunnel_deregister()
98 for (; (t = rcu_dereference_protected(*pprev, in xfrm6_tunnel_deregister()
100 pprev = &t->next) { in xfrm6_tunnel_deregister()
102 *pprev = handler->next; in xfrm6_tunnel_deregister()