Searched refs:xfrm_policy_id2dir (Results 1 – 4 of 4) sorted by relevance
327 dir = xfrm_policy_id2dir(xp->index); in xfrm_policy_timer()1258 dir = xfrm_policy_id2dir(policy->index); in xfrm_hash_rebuild()1328 dir = xfrm_policy_id2dir(policy->index); in xfrm_hash_rebuild()1719 if (xfrm_policy_id2dir(id) != dir) in xfrm_policy_byid()1760 xfrm_policy_id2dir(pol->index) >= XFRM_POLICY_MAX || in xfrm_policy_flush_secctx_check()1793 dir = xfrm_policy_id2dir(pol->index); in xfrm_policy_flush()1846 error = func(pol, xfrm_policy_id2dir(pol->index), in xfrm_policy_walk()
1663 if (p->index && (xfrm_policy_id2dir(p->index) != p->dir)) { in verify_newpolicy_info()
1751 static inline int xfrm_policy_id2dir(u32 index) in xfrm_policy_id2dir() function
2655 dir = xfrm_policy_id2dir(pol->sadb_x_policy_id); in pfkey_spdget()