Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv6/
Dxfrm6_policy.c71 static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm6_fill_dst() argument
74 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
76 xdst->u.dst.dev = dev; in xfrm6_fill_dst()
79 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst()
80 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst()
87 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst()
89 xdst->route_cookie = rt6_get_cookie(rt); in xfrm6_fill_dst()
90 xdst->u.rt6.rt6i_gateway = rt->rt6i_gateway; in xfrm6_fill_dst()
91 xdst->u.rt6.rt6i_dst = rt->rt6i_dst; in xfrm6_fill_dst()
92 xdst->u.rt6.rt6i_src = rt->rt6i_src; in xfrm6_fill_dst()
[all …]
/Linux-v5.10/net/ipv4/
Dxfrm4_policy.c71 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument
74 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
77 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
79 xdst->u.dst.dev = dev; in xfrm4_fill_dst()
84 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
85 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
87 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
88 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
89 xdst->u.rt.rt_gw_family = rt->rt_gw_family; in xfrm4_fill_dst()
91 xdst->u.rt.rt_gw4 = rt->rt_gw4; in xfrm4_fill_dst()
[all …]
/Linux-v5.10/net/xfrm/
Dxfrm_policy.c165 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
2462 struct xfrm_dst *xdst; in xfrm_alloc_dst() local
2479 xdst = dst_alloc(dst_ops, NULL, 1, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()
2481 if (likely(xdst)) { in xfrm_alloc_dst()
2482 struct dst_entry *dst = &xdst->u.dst; in xfrm_alloc_dst()
2484 memset(dst + 1, 0, sizeof(*xdst) - sizeof(*dst)); in xfrm_alloc_dst()
2486 xdst = ERR_PTR(-ENOBUFS); in xfrm_alloc_dst()
2490 return xdst; in xfrm_alloc_dst()
2503 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst() argument
2507 xfrm_policy_get_afinfo(xdst->u.dst.ops->family); in xfrm_fill_dst()
[all …]
Dxfrm_device.c287 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dev_offload_ok() local
294 (!xdst->child->xfrm)) { in xfrm_dev_offload_ok()
295 mtu = xfrm_state_mtu(x, xdst->child_mtu_cached); in xfrm_dev_offload_ok()
/Linux-v5.10/include/net/
Dxfrm.h333 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()
[all …]
/Linux-v5.10/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-v5.10/net/core/
Ddst.c111 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in dst_destroy() local
113 child = xdst->child; in dst_destroy()
Dpktgen.c415 struct xfrm_dst xdst; member
2514 skb->_skb_refdst = (unsigned long)&pkt_dev->xdst.u.dst | SKB_DST_NOREF; in pktgen_output_ipsec()
3658 pkt_dev->xdst.u.dst.dev = pkt_dev->odev; in pktgen_add_device()
3659 dst_init_metrics(&pkt_dev->xdst.u.dst, pktgen_dst_metrics, false); in pktgen_add_device()
3660 pkt_dev->xdst.child = &pkt_dev->xdst.u.dst; in pktgen_add_device()
3661 pkt_dev->xdst.u.dst.ops = &pkt_dev->dstops; in pktgen_add_device()
/Linux-v5.10/include/video/
Dmmp_disp.h72 u16 xdst; member
/Linux-v5.10/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c146 writel_relaxed((win->ydst << 16) | win->xdst, in overlay_set_win()
155 writel_relaxed((win->ydst << 16) | win->xdst, in overlay_set_win()
/Linux-v5.10/drivers/video/fbdev/mmp/fb/
Dmmpfb.c388 win.xsrc = win.xdst = fbi->mode.xres; in mmpfb_set_win()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dhub.fuc590 xdst $r0 $r1
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
Dcom.fuc234 xdst $r0 $r4