Searched refs:npols (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/xfrm/
H A Dxfrm_policy.c1451 xfrm_tmpl_resolve(struct xfrm_policy **pols, int npols, const struct flowi *fl, xfrm_tmpl_resolve() argument
1455 struct xfrm_state **tpp = (npols > 1) ? tp : xfrm; xfrm_tmpl_resolve()
1461 for (i = 0; i < npols; i++) { xfrm_tmpl_resolve()
1476 if (npols > 1) xfrm_tmpl_resolve()
2449 int npols = 0; __xfrm_policy_check() local
2518 npols++; __xfrm_policy_check()
2530 npols++; __xfrm_policy_check()
2547 for (pi = 0; pi < npols; pi++) { __xfrm_policy_check()
2561 if (npols > 1) { __xfrm_policy_check()
2588 xfrm_pols_put(pols, npols); __xfrm_policy_check()
2596 xfrm_pols_put(pols, npols); __xfrm_policy_check()
/linux-4.1.27/include/net/
H A Dxfrm.h794 static inline void xfrm_pols_put(struct xfrm_policy **pols, int npols) xfrm_pols_put() argument
797 for (i = npols - 1; i >= 0; --i) xfrm_pols_put()

Completed in 121 milliseconds