Home
last modified time | relevance | path

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

/Linux-v5.15/net/xfrm/
Dxfrm_interface.c71 struct xfrmi_net *xfrmn = net_generic(net, xfrmi_net_id); in xfrmi_lookup() local
74 for_each_xfrmi_rcu(xfrmn->xfrmi[xfrmi_hash(x->if_id)], xi) { in xfrmi_lookup()
117 static void xfrmi_link(struct xfrmi_net *xfrmn, struct xfrm_if *xi) in xfrmi_link() argument
119 struct xfrm_if __rcu **xip = &xfrmn->xfrmi[xfrmi_hash(xi->p.if_id)]; in xfrmi_link()
125 static void xfrmi_unlink(struct xfrmi_net *xfrmn, struct xfrm_if *xi) in xfrmi_unlink() argument
130 for (xip = &xfrmn->xfrmi[xfrmi_hash(xi->p.if_id)]; in xfrmi_unlink()
152 struct xfrmi_net *xfrmn = net_generic(net, xfrmi_net_id); in xfrmi_create() local
160 xfrmi_link(xfrmn, xi); in xfrmi_create()
172 struct xfrmi_net *xfrmn = net_generic(net, xfrmi_net_id); in xfrmi_locate() local
174 for (xip = &xfrmn->xfrmi[xfrmi_hash(p->if_id)]; in xfrmi_locate()
[all …]