Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv6/
H A Dxfrm6_policy.c77 static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm6_fill_dst() argument
80 struct rt6_info *rt = dst_rt6_info(xdst->route); in xfrm6_fill_dst()
82 xdst->u.dst.dev = dev; in xfrm6_fill_dst()
83 netdev_hold(dev, &xdst->u.dst.dev_tracker, GFP_ATOMIC); in xfrm6_fill_dst()
85 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst()
86 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst()
87 netdev_put(dev, &xdst->u.dst.dev_tracker); in xfrm6_fill_dst()
93 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst()
95 xdst->route_cookie = rt6_get_cookie(rt); in xfrm6_fill_dst()
96 xdst->u.rt6.rt6i_gateway = rt->rt6i_gateway; in xfrm6_fill_dst()
[all …]
/openbmc/linux/net/ipv4/
H A Dxfrm4_policy.c65 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument
68 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
71 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
73 xdst->u.dst.dev = dev; in xfrm4_fill_dst()
74 netdev_hold(dev, &xdst->u.dst.dev_tracker, GFP_ATOMIC); in xfrm4_fill_dst()
78 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
79 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
81 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
82 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
83 xdst->u.rt.rt_gw_family = rt->rt_gw_family; in xfrm4_fill_dst()
[all …]
/openbmc/linux/net/xfrm/
H A Dxfrm_policy.c166 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
2577 struct xfrm_dst *xdst; in xfrm_alloc_dst() local
2594 xdst = dst_alloc(dst_ops, NULL, 1, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()
2596 if (likely(xdst)) { in xfrm_alloc_dst()
2597 memset_after(xdst, 0, u.dst); in xfrm_alloc_dst()
2599 xdst = ERR_PTR(-ENOBUFS); in xfrm_alloc_dst()
2603 return xdst; in xfrm_alloc_dst()
2615 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst() argument
2619 xfrm_policy_get_afinfo(xdst->u.dst.ops->family); in xfrm_fill_dst()
2625 err = afinfo->fill_dst(xdst, dev, fl); in xfrm_fill_dst()
[all …]
H A Dxfrm_device.c412 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dev_offload_ok() local
421 !xdst->child->xfrm)) { in xfrm_dev_offload_ok()
422 mtu = xfrm_state_mtu(x, xdst->child_mtu_cached); in xfrm_dev_offload_ok()
/openbmc/linux/include/net/
H A Dxfrm.h364 int (*fill_dst)(struct xfrm_dst *xdst,
979 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local
981 return xdst->path; in xfrm_dst_path()
991 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local
992 return xdst->child; in xfrm_dst_child()
999 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument
1001 xdst->child = child; in xfrm_dst_set_child()
1004 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
1006 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
1007 dst_release(xdst->route); in xfrm_dst_destroy()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/
H A 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
/openbmc/linux/net/core/
H A Ddst.c107 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in dst_destroy() local
109 child = xdst->child; in dst_destroy()
H A Dpktgen.c431 struct xfrm_dst xdst; member
2650 skb->_skb_refdst = (unsigned long)&pkt_dev->xdst.u.dst | SKB_DST_NOREF; in pktgen_output_ipsec()
3799 pkt_dev->xdst.u.dst.dev = pkt_dev->odev; in pktgen_add_device()
3800 dst_init_metrics(&pkt_dev->xdst.u.dst, pktgen_dst_metrics, false); in pktgen_add_device()
3801 pkt_dev->xdst.child = &pkt_dev->xdst.u.dst; in pktgen_add_device()
3802 pkt_dev->xdst.u.dst.ops = &pkt_dev->dstops; in pktgen_add_device()
/openbmc/linux/include/video/
H A Dmmp_disp.h72 u16 xdst; member
/openbmc/linux/drivers/video/fbdev/mmp/hw/
H A 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()
/openbmc/qemu/target/sh4/
H A Dtranslate.c965 int xdst = XHACK(B11_8); in _decode_opc() local
966 tcg_gen_mov_i32(FREG(xdst), FREG(xsrc)); in _decode_opc()
967 tcg_gen_mov_i32(FREG(xdst + 1), FREG(xsrc + 1)); in _decode_opc()
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch201 struct stat dirst, xdst;
/openbmc/linux/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.c388 win.xsrc = win.xdst = fbi->mode.xres; in mmpfb_set_win()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
H A Dhub.fuc590 xdst $r0 $r1
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
H A Dcom.fuc234 xdst $r0 $r4