Lines Matching refs:xdst
327 int (*fill_dst)(struct xfrm_dst *xdst,
939 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local
941 return xdst->path; in xfrm_dst_path()
951 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local
952 return xdst->child; in xfrm_dst_child()
959 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument
961 xdst->child = child; in xfrm_dst_set_child()
964 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
966 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
967 dst_release(xdst->route); in xfrm_dst_destroy()
968 if (likely(xdst->u.dst.xfrm)) in xfrm_dst_destroy()
969 xfrm_state_put(xdst->u.dst.xfrm); in xfrm_dst_destroy()
1884 struct xfrm_dst *xdst; in xfrm_dst_offload_ok() local
1889 xdst = (struct xfrm_dst *) dst; in xfrm_dst_offload_ok()
1890 if (!x->xso.offload_handle && !xdst->child->xfrm) in xfrm_dst_offload_ok()
1893 !xdst->child->xfrm) in xfrm_dst_offload_ok()