Home
last modified time | relevance | path

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

/linux-6.6.21/net/xfrm/
Dxfrm_policy.c2503 xfrm_tmpl_resolve(struct xfrm_policy **pols, int npols, const struct flowi *fl, in xfrm_tmpl_resolve() argument
2507 struct xfrm_state **tpp = (npols > 1) ? tp : xfrm; in xfrm_tmpl_resolve()
2513 for (i = 0; i < npols; i++) { in xfrm_tmpl_resolve()
2528 if (npols > 1) in xfrm_tmpl_resolve()
3600 int npols = 0; in __xfrm_policy_check() local
3683 npols++; in __xfrm_policy_check()
3698 npols++; in __xfrm_policy_check()
3715 for (pi = 0; pi < npols; pi++) { in __xfrm_policy_check()
3730 if (npols > 1) { in __xfrm_policy_check()
3760 xfrm_pols_put(pols, npols); in __xfrm_policy_check()
[all …]
/linux-6.6.21/include/net/
Dxfrm.h798 static inline void xfrm_pols_put(struct xfrm_policy **pols, int npols) in xfrm_pols_put() argument
801 for (i = npols - 1; i >= 0; --i) in xfrm_pols_put()