Lines Matching refs:xdst
330 int (*fill_dst)(struct xfrm_dst *xdst,
949 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local
951 return xdst->path; in xfrm_dst_path()
961 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local
962 return xdst->child; in xfrm_dst_child()
969 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument
971 xdst->child = child; in xfrm_dst_set_child()
974 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
976 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
977 dst_release(xdst->route); in xfrm_dst_destroy()
978 if (likely(xdst->u.dst.xfrm)) in xfrm_dst_destroy()
979 xfrm_state_put(xdst->u.dst.xfrm); in xfrm_dst_destroy()
1866 struct xfrm_dst *xdst; in xfrm_dst_offload_ok() local
1871 xdst = (struct xfrm_dst *) dst; in xfrm_dst_offload_ok()
1872 if (!x->xso.offload_handle && !xdst->child->xfrm) in xfrm_dst_offload_ok()
1875 !xdst->child->xfrm) in xfrm_dst_offload_ok()