Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv6/
Dxfrm6_policy.c74 static void xfrm6_init_dst(struct net *net, struct xfrm_dst *xdst) in xfrm6_init_dst() argument
76 struct rt6_info *rt = (struct rt6_info *)xdst; in xfrm6_init_dst()
95 static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm6_fill_dst() argument
98 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
100 xdst->u.dst.dev = dev; in xfrm6_fill_dst()
103 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst()
104 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst()
109 rt6_transfer_peer(&xdst->u.rt6, rt); in xfrm6_fill_dst()
113 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst()
115 xdst->u.rt6.rt6i_metric = rt->rt6i_metric; in xfrm6_fill_dst()
[all …]
/linux-4.1.27/net/ipv4/
Dxfrm4_policy.c76 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument
79 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
82 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
84 xdst->u.dst.dev = dev; in xfrm4_fill_dst()
89 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
90 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
92 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
93 xdst->u.rt.rt_gateway = rt->rt_gateway; in xfrm4_fill_dst()
94 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
95 xdst->u.rt.rt_pmtu = rt->rt_pmtu; in xfrm4_fill_dst()
[all …]
/linux-4.1.27/net/xfrm/
Dxfrm_policy.c55 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
1509 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_get() local
1510 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_get()
1512 if (xdst->route == NULL) { in xfrm_bundle_flo_get()
1516 if (xdst->num_xfrms > 0) in xfrm_bundle_flo_get()
1532 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_check() local
1533 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_check()
1535 if (!xdst->route) in xfrm_bundle_flo_check()
1545 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_delete() local
1546 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_delete()
[all …]
/linux-4.1.27/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-4.1.27/include/net/
Dxfrm.h300 int (*fill_dst)(struct xfrm_dst *xdst,
961 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
963 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
964 dst_release(xdst->route); in xfrm_dst_destroy()
965 if (likely(xdst->u.dst.xfrm)) in xfrm_dst_destroy()
966 xfrm_state_put(xdst->u.dst.xfrm); in xfrm_dst_destroy()
968 kfree(xdst->origin); in xfrm_dst_destroy()
969 xdst->origin = NULL; in xfrm_dst_destroy()
970 kfree(xdst->partner); in xfrm_dst_destroy()
971 xdst->partner = NULL; in xfrm_dst_destroy()
/linux-4.1.27/include/video/
Dmmp_disp.h85 u16 xdst; member
/linux-4.1.27/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-4.1.27/drivers/video/fbdev/mmp/fb/
Dmmpfb.c403 win.xsrc = win.xdst = fbi->mode.xres; in mmpfb_set_win()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dhub.fuc587 xdst $r0 $r1
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
Dcom.fuc234 xdst $r0 $r4