Lines Matching refs:xdst
356 int (*fill_dst)(struct xfrm_dst *xdst,
971 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local
973 return xdst->path; in xfrm_dst_path()
983 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local
984 return xdst->child; in xfrm_dst_child()
991 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument
993 xdst->child = child; in xfrm_dst_set_child()
996 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
998 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
999 dst_release(xdst->route); in xfrm_dst_destroy()
1000 if (likely(xdst->u.dst.xfrm)) in xfrm_dst_destroy()
1001 xfrm_state_put(xdst->u.dst.xfrm); in xfrm_dst_destroy()
1955 struct xfrm_dst *xdst; in xfrm_dst_offload_ok() local
1960 xdst = (struct xfrm_dst *) dst; in xfrm_dst_offload_ok()
1961 if (!x->xso.offload_handle && !xdst->child->xfrm) in xfrm_dst_offload_ok()
1964 !xdst->child->xfrm) in xfrm_dst_offload_ok()