Searched refs:XFRM_POLICY_MAX (Results 1 – 5 of 5) sorted by relevance
54 struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX];55 unsigned int policy_count[XFRM_POLICY_MAX * 2];69 u8 policy_default[XFRM_POLICY_MAX];
706 si->inscnt = net->xfrm.policy_count[XFRM_POLICY_IN+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()707 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()708 si->fwdscnt = net->xfrm.policy_count[XFRM_POLICY_FWD+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()723 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_hash_resize()1268 return dir >= XFRM_POLICY_MAX; in xfrm_policy_is_dead_or_sk()1339 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_hash_rebuild()1755 xfrm_policy_id2dir(pol->index) >= XFRM_POLICY_MAX || in xfrm_policy_flush_secctx_check()1777 xfrm_policy_id2dir(pol->index) >= XFRM_POLICY_MAX || in xfrm_dev_policy_flush_secctx_check()1821 if (dir >= XFRM_POLICY_MAX || in xfrm_policy_flush()1861 if (dir >= XFRM_POLICY_MAX || in xfrm_dev_policy_flush()[all …]
141 XFRM_POLICY_MAX = 3 enumerator
1318 xfrm_policy_delete(pol, XFRM_POLICY_MAX); in xfrm_sk_free_policy()1323 xfrm_policy_delete(pol, XFRM_POLICY_MAX+1); in xfrm_sk_free_policy()
2659 if (dir >= XFRM_POLICY_MAX) in pfkey_spdget()