Lines Matching refs:xfrm_nr
1127 newp->xfrm_nr = old->xfrm_nr; in clone_policy()
1131 newp->xfrm_nr*sizeof(struct xfrm_tmpl)); in clone_policy()
1180 for (nx=0, i = 0; i < policy->xfrm_nr; i++) { in xfrm_tmpl_resolve_one()
1237 if (cnx + pols[i]->xfrm_nr >= XFRM_MAX_DEPTH) { in xfrm_tmpl_resolve()
1579 *num_xfrms = pols[0]->xfrm_nr; in xfrm_expand_policies()
1594 (*num_xfrms) += pols[1]->xfrm_nr; in xfrm_expand_policies()
2036 int xfrm_nr; in __xfrm_policy_check() local
2139 if (ti + pols[pi]->xfrm_nr >= XFRM_MAX_DEPTH) { in __xfrm_policy_check()
2143 for (i = 0; i < pols[pi]->xfrm_nr; i++) in __xfrm_policy_check()
2146 xfrm_nr = ti; in __xfrm_policy_check()
2148 xfrm_tmpl_sort(stp, tpp, xfrm_nr, family); in __xfrm_policy_check()
2158 for (i = xfrm_nr-1, k = 0; i >= 0; i--) { in __xfrm_policy_check()
2848 for (i = 0; i < pol->xfrm_nr; i++) { in xfrm_policy_migrate()