Lines Matching refs:policy
61 - policy rule, struct xfrm_policy (=SPD entry)
75 policy entry has list of up to XFRM_MAX_DEPTH transformations,
725 static inline void xfrm_pol_hold(struct xfrm_policy *policy)
727 if (likely(policy != NULL))
728 atomic_inc(&policy->refcnt);
731 extern void xfrm_policy_destroy(struct xfrm_policy *policy);
733 static inline void xfrm_pol_put(struct xfrm_policy *policy)
735 if (atomic_dec_and_test(&policy->refcnt))
736 xfrm_policy_destroy(policy);
866 * policy rule.
1453 int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl);