Lines Matching refs:xdst
333 int (*fill_dst)(struct xfrm_dst *xdst,
948 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local
950 return xdst->path; in xfrm_dst_path()
960 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local
961 return xdst->child; in xfrm_dst_child()
968 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument
970 xdst->child = child; in xfrm_dst_set_child()
973 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
975 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
976 dst_release(xdst->route); in xfrm_dst_destroy()
977 if (likely(xdst->u.dst.xfrm)) in xfrm_dst_destroy()
978 xfrm_state_put(xdst->u.dst.xfrm); in xfrm_dst_destroy()
1865 struct xfrm_dst *xdst; in xfrm_dst_offload_ok() local
1870 xdst = (struct xfrm_dst *) dst; in xfrm_dst_offload_ok()
1871 if (!x->xso.offload_handle && !xdst->child->xfrm) in xfrm_dst_offload_ok()
1874 !xdst->child->xfrm) in xfrm_dst_offload_ok()