Searched refs:XFRM_POLICY_MAX (Results 1 – 5 of 5) sorted by relevance
41 struct hlist_head policy_inexact[XFRM_POLICY_MAX * 2];42 struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX * 2];43 unsigned int policy_count[XFRM_POLICY_MAX * 2];
474 si->inscnt = net->xfrm.policy_count[XFRM_POLICY_IN+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()475 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()476 si->fwdscnt = net->xfrm.policy_count[XFRM_POLICY_FWD+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()492 for (dir = 0; dir < XFRM_POLICY_MAX * 2; dir++) { in xfrm_hash_resize()693 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_policy_flush_secctx_check()749 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_policy_flush()1095 pol->index = xfrm_gen_index(net, XFRM_POLICY_MAX+dir); in xfrm_sk_policy_insert()1096 __xfrm_policy_link(pol, XFRM_POLICY_MAX+dir); in xfrm_sk_policy_insert()1102 __xfrm_policy_unlink(old_pol, XFRM_POLICY_MAX+dir); in xfrm_sk_policy_insert()1133 __xfrm_policy_link(newp, XFRM_POLICY_MAX+dir); in clone_policy()[all …]
137 XFRM_POLICY_MAX = 3 enumerator
1143 xfrm_policy_delete(sk->sk_policy[0], XFRM_POLICY_MAX); in xfrm_sk_free_policy()1147 xfrm_policy_delete(sk->sk_policy[1], XFRM_POLICY_MAX+1); in xfrm_sk_free_policy()
2585 if (dir >= XFRM_POLICY_MAX) in pfkey_spdget()