Home
last modified time | relevance | path

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

/linux-6.15/net/xfrm/
H A Dxfrm_policy.c2821 if (IS_ERR(pols[0])) { in xfrm_expand_policies()
2831 pols[1] = xfrm_policy_lookup_bytype(xp_net(pols[0]), in xfrm_expand_policies()
2836 if (pols[1]) { in xfrm_expand_policies()
2837 if (IS_ERR(pols[1])) { in xfrm_expand_policies()
2890 memcpy(xdst->pols, pols, sizeof(struct xfrm_policy *) * num_pols); in xfrm_resolve_and_create_bundle()
3136 memcpy(xdst->pols, pols, sizeof(struct xfrm_policy *) * num_pols); in xfrm_bundle_lookup()
3206 pols, num_pols, fl, in xfrm_lookup_with_ifid()
3247 memcpy(pols, xdst->pols, sizeof(struct xfrm_policy *) * num_pols); in xfrm_lookup_with_ifid()
3778 pols[0] = pol; in __xfrm_policy_check()
3785 if (pols[1]) { in __xfrm_policy_check()
[all …]
/linux-6.15/include/net/
H A Dxfrm.h901 static inline void xfrm_pols_put(struct xfrm_policy **pols, int npols) in xfrm_pols_put() argument
905 xfrm_pol_put(pols[i]); in xfrm_pols_put()
1060 struct xfrm_policy *pols[XFRM_POLICY_TYPE_MAX]; member
1101 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()