Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv6/
Dxfrm6_policy.c90 static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm6_fill_dst() argument
93 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
95 xdst->u.dst.dev = dev; in xfrm6_fill_dst()
98 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst()
99 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst()
106 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst()
108 xdst->u.rt6.rt6i_metric = rt->rt6i_metric; in xfrm6_fill_dst()
109 xdst->u.rt6.rt6i_node = rt->rt6i_node; 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()
[all …]
/linux-4.4.14/net/ipv4/
Dxfrm4_policy.c80 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument
83 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
86 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
88 xdst->u.dst.dev = dev; in xfrm4_fill_dst()
93 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
94 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
96 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
97 xdst->u.rt.rt_gateway = rt->rt_gateway; in xfrm4_fill_dst()
98 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
99 xdst->u.rt.rt_pmtu = rt->rt_pmtu; in xfrm4_fill_dst()
[all …]
/linux-4.4.14/net/xfrm/
Dxfrm_policy.c55 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
1530 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_get() local
1531 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_get()
1533 if (xdst->route == NULL) { in xfrm_bundle_flo_get()
1537 if (xdst->num_xfrms > 0) in xfrm_bundle_flo_get()
1553 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_check() local
1554 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_check()
1556 if (!xdst->route) in xfrm_bundle_flo_check()
1566 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_delete() local
1567 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_delete()
[all …]
/linux-4.4.14/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.4.14/include/net/
Dxfrm.h302 int (*fill_dst)(struct xfrm_dst *xdst,
964 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
966 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
967 dst_release(xdst->route); in xfrm_dst_destroy()
968 if (likely(xdst->u.dst.xfrm)) in xfrm_dst_destroy()
969 xfrm_state_put(xdst->u.dst.xfrm); in xfrm_dst_destroy()
971 kfree(xdst->origin); in xfrm_dst_destroy()
972 xdst->origin = NULL; in xfrm_dst_destroy()
973 kfree(xdst->partner); in xfrm_dst_destroy()
974 xdst->partner = NULL; in xfrm_dst_destroy()
/linux-4.4.14/include/video/
Dmmp_disp.h85 u16 xdst; member
/linux-4.4.14/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.4.14/drivers/video/fbdev/mmp/fb/
Dmmpfb.c403 win.xsrc = win.xdst = fbi->mode.xres; in mmpfb_set_win()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dhub.fuc587 xdst $r0 $r1
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
Dcom.fuc234 xdst $r0 $r4