Lines Matching refs:xip
119 struct xfrm_if __rcu **xip = &xfrmn->xfrmi[xfrmi_hash(xi->p.if_id)]; in xfrmi_link() local
121 rcu_assign_pointer(xi->next , rtnl_dereference(*xip)); in xfrmi_link()
122 rcu_assign_pointer(*xip, xi); in xfrmi_link()
127 struct xfrm_if __rcu **xip; in xfrmi_unlink() local
130 for (xip = &xfrmn->xfrmi[xfrmi_hash(xi->p.if_id)]; in xfrmi_unlink()
131 (iter = rtnl_dereference(*xip)) != NULL; in xfrmi_unlink()
132 xip = &iter->next) { in xfrmi_unlink()
134 rcu_assign_pointer(*xip, xi->next); in xfrmi_unlink()
170 struct xfrm_if __rcu **xip; in xfrmi_locate() local
174 for (xip = &xfrmn->xfrmi[xfrmi_hash(p->if_id)]; in xfrmi_locate()
175 (xi = rtnl_dereference(*xip)) != NULL; in xfrmi_locate()
176 xip = &xi->next) in xfrmi_locate()
807 struct xfrm_if __rcu **xip; in xfrmi_exit_batch_net() local
812 for (xip = &xfrmn->xfrmi[i]; in xfrmi_exit_batch_net()
813 (xi = rtnl_dereference(*xip)) != NULL; in xfrmi_exit_batch_net()
814 xip = &xi->next) in xfrmi_exit_batch_net()