Lines Matching refs:xdst
343 int (*fill_dst)(struct xfrm_dst *xdst,
956 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local
958 return xdst->path; in xfrm_dst_path()
968 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local
969 return xdst->child; in xfrm_dst_child()
976 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument
978 xdst->child = child; in xfrm_dst_set_child()
981 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
983 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
984 dst_release(xdst->route); in xfrm_dst_destroy()
985 if (likely(xdst->u.dst.xfrm)) in xfrm_dst_destroy()
986 xfrm_state_put(xdst->u.dst.xfrm); in xfrm_dst_destroy()
1906 struct xfrm_dst *xdst; in xfrm_dst_offload_ok() local
1911 xdst = (struct xfrm_dst *) dst; in xfrm_dst_offload_ok()
1912 if (!x->xso.offload_handle && !xdst->child->xfrm) in xfrm_dst_offload_ok()
1915 !xdst->child->xfrm) in xfrm_dst_offload_ok()