Home
last modified time | relevance | path

Searched refs:xdst (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/net/ipv6/
Dxfrm6_policy.c92 static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm6_fill_dst() argument
95 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
97 xdst->u.dst.dev = dev; in xfrm6_fill_dst()
100 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst()
101 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst()
108 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst()
110 xdst->route_cookie = rt6_get_cookie(rt); in xfrm6_fill_dst()
111 xdst->u.rt6.rt6i_gateway = rt->rt6i_gateway; in xfrm6_fill_dst()
112 xdst->u.rt6.rt6i_dst = rt->rt6i_dst; in xfrm6_fill_dst()
113 xdst->u.rt6.rt6i_src = rt->rt6i_src; in xfrm6_fill_dst()
[all …]
/Linux-v4.19/net/ipv4/
Dxfrm4_policy.c83 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument
86 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
89 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
91 xdst->u.dst.dev = dev; in xfrm4_fill_dst()
96 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
97 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
99 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
100 xdst->u.rt.rt_gateway = rt->rt_gateway; in xfrm4_fill_dst()
101 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
102 xdst->u.rt.rt_pmtu = rt->rt_pmtu; in xfrm4_fill_dst()
[all …]
/Linux-v4.19/net/xfrm/
Dxfrm_policy.c60 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
1499 struct xfrm_dst *xdst; in xfrm_alloc_dst() local
1516 xdst = dst_alloc(dst_ops, NULL, 1, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()
1518 if (likely(xdst)) { in xfrm_alloc_dst()
1519 struct dst_entry *dst = &xdst->u.dst; in xfrm_alloc_dst()
1521 memset(dst + 1, 0, sizeof(*xdst) - sizeof(*dst)); in xfrm_alloc_dst()
1523 xdst = ERR_PTR(-ENOBUFS); in xfrm_alloc_dst()
1527 return xdst; in xfrm_alloc_dst()
1547 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst() argument
1551 xfrm_policy_get_afinfo(xdst->u.dst.ops->family); in xfrm_fill_dst()
[all …]
Dxfrm_device.c208 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dev_offload_ok() local
215 (!xdst->child->xfrm && x->type->get_mtu)) { in xfrm_dev_offload_ok()
216 mtu = x->type->get_mtu(x, xdst->child_mtu_cached); in xfrm_dev_offload_ok()
/Linux-v4.19/include/net/
Dxfrm.h325 int (*fill_dst)(struct xfrm_dst *xdst,
1013 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local
1015 return xdst->path; in xfrm_dst_path()
1025 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local
1026 return xdst->child; in xfrm_dst_child()
1033 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument
1035 xdst->child = child; in xfrm_dst_set_child()
1038 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
1040 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
1041 dst_release(xdst->route); in xfrm_dst_destroy()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/
Dg98.fuc0s159 xdst $r0 $r2
334 xdst $r4 $r5
442 xdst $r0 $r4
445 xdst $r0 $r4
648 xdst $r0 $r9
667 xdst $r7 $r9
684 xdst $r0 $r9
689 xdst $r7 $r9
/Linux-v4.19/net/core/
Ddst.c123 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in dst_destroy() local
125 child = xdst->child; in dst_destroy()
Dpktgen.c421 struct xfrm_dst xdst; member
2520 skb->_skb_refdst = (unsigned long)&pkt_dev->xdst.u.dst | SKB_DST_NOREF; in pktgen_output_ipsec()
3654 pkt_dev->xdst.u.dst.dev = pkt_dev->odev; in pktgen_add_device()
3655 dst_init_metrics(&pkt_dev->xdst.u.dst, pktgen_dst_metrics, false); in pktgen_add_device()
3656 pkt_dev->xdst.child = &pkt_dev->xdst.u.dst; in pktgen_add_device()
3657 pkt_dev->xdst.u.dst.ops = &pkt_dev->dstops; in pktgen_add_device()
/Linux-v4.19/include/video/
Dmmp_disp.h85 u16 xdst; member
/Linux-v4.19/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c157 writel_relaxed((win->ydst << 16) | win->xdst, &regs->v_size_z); in overlay_set_win()
163 writel_relaxed((win->ydst << 16) | win->xdst, &regs->g_size_z); in overlay_set_win()
/Linux-v4.19/drivers/video/fbdev/mmp/fb/
Dmmpfb.c403 win.xsrc = win.xdst = fbi->mode.xres; in mmpfb_set_win()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dhub.fuc590 xdst $r0 $r1
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
Dcom.fuc234 xdst $r0 $r4