Lines Matching refs:xfrm_nr
2309 newp->xfrm_nr = old->xfrm_nr; in clone_policy()
2314 newp->xfrm_nr*sizeof(struct xfrm_tmpl)); in clone_policy()
2372 for (nx = 0, i = 0; i < policy->xfrm_nr; i++) { in xfrm_tmpl_resolve_one()
2432 if (cnx + pols[i]->xfrm_nr >= XFRM_MAX_DEPTH) { in xfrm_tmpl_resolve()
2685 *num_xfrms = pols[0]->xfrm_nr; in xfrm_expand_policies()
2702 (*num_xfrms) += pols[1]->xfrm_nr; in xfrm_expand_policies()
3511 int xfrm_nr; in __xfrm_policy_check() local
3628 if (ti + pols[pi]->xfrm_nr >= XFRM_MAX_DEPTH) { in __xfrm_policy_check()
3632 for (i = 0; i < pols[pi]->xfrm_nr; i++) in __xfrm_policy_check()
3635 xfrm_nr = ti; in __xfrm_policy_check()
3638 !xfrm_nr) { in __xfrm_policy_check()
3644 xfrm_tmpl_sort(stp, tpp, xfrm_nr, family); in __xfrm_policy_check()
3654 for (i = xfrm_nr-1, k = 0; i >= 0; i--) { in __xfrm_policy_check()
4348 for (i = 0; i < pol->xfrm_nr; i++) { in xfrm_policy_migrate()