Lines Matching refs:xfrm
970 if (dst->xfrm || (dst->flags & DST_XFRM_QUEUE)) { in xfrm_dst_path()
982 if (dst->xfrm || (dst->flags & DST_XFRM_QUEUE)) { in xfrm_dst_child()
1000 if (likely(xdst->u.dst.xfrm)) in xfrm_dst_destroy()
1001 xfrm_state_put(xdst->u.dst.xfrm); in xfrm_dst_destroy()
1144 if (!net->xfrm.policy_count[dir] && !secpath_exists(skb)) in __xfrm_check_nopolicy()
1145 return net->xfrm.policy_default[dir] == XFRM_USERPOLICY_ACCEPT; in __xfrm_check_nopolicy()
1235 if (!net->xfrm.policy_count[XFRM_POLICY_OUT] && in xfrm_route_forward()
1236 net->xfrm.policy_default[XFRM_POLICY_OUT] == XFRM_USERPOLICY_ACCEPT) in xfrm_route_forward()
1841 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_aevent_is_on()
1854 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_acquire_is_on()
1957 struct xfrm_state *x = dst->xfrm; in xfrm_dst_offload_ok()
1964 if (!x->xso.offload_handle && !xdst->child->xfrm) in xfrm_dst_offload_ok()
1967 !xdst->child->xfrm) in xfrm_dst_offload_ok()