Searched refs:pols (Results 1 – 1 of 1) sorted by relevance
2420 xfrm_tmpl_resolve(struct xfrm_policy **pols, int npols, const struct flowi *fl, in xfrm_tmpl_resolve() argument2431 if (cnx + pols[i]->xfrm_nr >= XFRM_MAX_DEPTH) { in xfrm_tmpl_resolve()2436 ret = xfrm_tmpl_resolve_one(pols[i], fl, &tpp[cnx], family); in xfrm_tmpl_resolve()2670 struct xfrm_policy **pols, in xfrm_expand_policies() argument2675 if (*num_pols == 0 || !pols[0]) { in xfrm_expand_policies()2680 if (IS_ERR(pols[0])) in xfrm_expand_policies()2681 return PTR_ERR(pols[0]); in xfrm_expand_policies()2683 *num_xfrms = pols[0]->xfrm_nr; in xfrm_expand_policies()2686 if (pols[0] && pols[0]->action == XFRM_POLICY_ALLOW && in xfrm_expand_policies()2687 pols[0]->type != XFRM_POLICY_TYPE_MAIN) { in xfrm_expand_policies()[all …]