Searched refs:npols (Results 1 – 2 of 2) sorted by relevance
1472 xfrm_tmpl_resolve(struct xfrm_policy **pols, int npols, const struct flowi *fl, in xfrm_tmpl_resolve() argument1476 struct xfrm_state **tpp = (npols > 1) ? tp : xfrm; in xfrm_tmpl_resolve()1482 for (i = 0; i < npols; i++) { in xfrm_tmpl_resolve()1497 if (npols > 1) in xfrm_tmpl_resolve()2468 int npols = 0; in __xfrm_policy_check() local2538 npols++; in __xfrm_policy_check()2550 npols++; in __xfrm_policy_check()2567 for (pi = 0; pi < npols; pi++) { in __xfrm_policy_check()2581 if (npols > 1) { in __xfrm_policy_check()2608 xfrm_pols_put(pols, npols); in __xfrm_policy_check()[all …]
797 static inline void xfrm_pols_put(struct xfrm_policy **pols, int npols) in xfrm_pols_put() argument800 for (i = npols - 1; i >= 0; --i) in xfrm_pols_put()