Searched refs:XFRM_POLICY_MAX (Results 1 – 5 of 5) sorted by relevance
52 struct hlist_head policy_inexact[XFRM_POLICY_MAX];53 struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX];54 unsigned int policy_count[XFRM_POLICY_MAX * 2];
658 si->inscnt = net->xfrm.policy_count[XFRM_POLICY_IN+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()659 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()660 si->fwdscnt = net->xfrm.policy_count[XFRM_POLICY_FWD+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()675 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_hash_resize()1243 if (policy->walk.dead || dir >= XFRM_POLICY_MAX) in xfrm_hash_rebuild()1277 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_hash_rebuild()1313 if (dir >= XFRM_POLICY_MAX) { in xfrm_hash_rebuild()1756 xfrm_policy_id2dir(pol->index) >= XFRM_POLICY_MAX || in xfrm_policy_flush_secctx_check()1791 dir >= XFRM_POLICY_MAX || in xfrm_policy_flush()2231 __xfrm_policy_link(pol, XFRM_POLICY_MAX + dir); in xfrm_sk_policy_link()[all …]
140 XFRM_POLICY_MAX = 3 enumerator
1187 xfrm_policy_delete(pol, XFRM_POLICY_MAX); in xfrm_sk_free_policy()1192 xfrm_policy_delete(pol, XFRM_POLICY_MAX+1); in xfrm_sk_free_policy()
2650 if (dir >= XFRM_POLICY_MAX) in pfkey_spdget()