Home
last modified time | relevance | path

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

/Linux-v6.1/net/ipv6/
Dxfrm6_policy.c70 static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm6_fill_dst() argument
73 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
75 xdst->u.dst.dev = dev; in xfrm6_fill_dst()
76 netdev_hold(dev, &xdst->u.dst.dev_tracker, GFP_ATOMIC); in xfrm6_fill_dst()
78 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst()
79 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst()
80 netdev_put(dev, &xdst->u.dst.dev_tracker); in xfrm6_fill_dst()
86 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst()
88 xdst->route_cookie = rt6_get_cookie(rt); in xfrm6_fill_dst()
89 xdst->u.rt6.rt6i_gateway = rt->rt6i_gateway; in xfrm6_fill_dst()
[all …]
/Linux-v6.1/net/ipv4/
Dxfrm4_policy.c69 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument
72 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
75 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
77 xdst->u.dst.dev = dev; in xfrm4_fill_dst()
78 netdev_hold(dev, &xdst->u.dst.dev_tracker, GFP_ATOMIC); in xfrm4_fill_dst()
82 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
83 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
85 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
86 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
87 xdst->u.rt.rt_gw_family = rt->rt_gw_family; in xfrm4_fill_dst()
[all …]
/Linux-v6.1/net/xfrm/
Dxfrm_policy.c166 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
2470 struct xfrm_dst *xdst; in xfrm_alloc_dst() local
2487 xdst = dst_alloc(dst_ops, NULL, 1, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()
2489 if (likely(xdst)) { in xfrm_alloc_dst()
2490 memset_after(xdst, 0, u.dst); in xfrm_alloc_dst()
2492 xdst = ERR_PTR(-ENOBUFS); in xfrm_alloc_dst()
2496 return xdst; in xfrm_alloc_dst()
2509 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst() argument
2513 xfrm_policy_get_afinfo(xdst->u.dst.ops->family); in xfrm_fill_dst()
2519 err = afinfo->fill_dst(xdst, dev, fl); in xfrm_fill_dst()
[all …]
Dxfrm_device.c315 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dev_offload_ok() local
322 (!xdst->child->xfrm)) { in xfrm_dev_offload_ok()
323 mtu = xfrm_state_mtu(x, xdst->child_mtu_cached); in xfrm_dev_offload_ok()
/Linux-v6.1/include/net/
Dxfrm.h343 int (*fill_dst)(struct xfrm_dst *xdst,
956 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local
958 return xdst->path; in xfrm_dst_path()
968 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local
969 return xdst->child; in xfrm_dst_child()
976 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument
978 xdst->child = child; in xfrm_dst_set_child()
981 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
983 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
984 dst_release(xdst->route); in xfrm_dst_destroy()
[all …]
/Linux-v6.1/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-v6.1/net/core/
Ddst.c110 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in dst_destroy() local
112 child = xdst->child; in dst_destroy()
Dpktgen.c431 struct xfrm_dst xdst; member
2655 skb->_skb_refdst = (unsigned long)&pkt_dev->xdst.u.dst | SKB_DST_NOREF; in pktgen_output_ipsec()
3801 pkt_dev->xdst.u.dst.dev = pkt_dev->odev; in pktgen_add_device()
3802 dst_init_metrics(&pkt_dev->xdst.u.dst, pktgen_dst_metrics, false); in pktgen_add_device()
3803 pkt_dev->xdst.child = &pkt_dev->xdst.u.dst; in pktgen_add_device()
3804 pkt_dev->xdst.u.dst.ops = &pkt_dev->dstops; in pktgen_add_device()
/Linux-v6.1/include/video/
Dmmp_disp.h72 u16 xdst; member
/Linux-v6.1/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-v6.1/drivers/video/fbdev/mmp/fb/
Dmmpfb.c388 win.xsrc = win.xdst = fbi->mode.xres; in mmpfb_set_win()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dhub.fuc590 xdst $r0 $r1
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
Dcom.fuc234 xdst $r0 $r4