Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dxfrm6_policy.c80 static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm6_fill_dst() argument
83 struct rt6_info *rt = dst_rt6_info(xdst->route); in xfrm6_fill_dst()
85 xdst->u.dst.dev = dev; in xfrm6_fill_dst()
86 netdev_hold(dev, &xdst->u.dst.dev_tracker, GFP_ATOMIC); in xfrm6_fill_dst()
88 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst()
89 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst()
90 netdev_put(dev, &xdst->u.dst.dev_tracker); in xfrm6_fill_dst()
91 xdst->u.dst.dev = NULL; in xfrm6_fill_dst()
97 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst()
99 xdst->route_cookie = rt6_get_cookie(rt); in xfrm6_fill_dst()
[all …]
/linux/net/ipv4/
H A Dxfrm4_policy.c66 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument
69 struct rtable *rt = dst_rtable(xdst->route); in xfrm4_fill_dst()
72 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
74 xdst->u.dst.dev = dev; in xfrm4_fill_dst()
75 netdev_hold(dev, &xdst->u.dst.dev_tracker, GFP_ATOMIC); in xfrm4_fill_dst()
79 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
80 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
82 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
83 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
84 xdst->u.rt.rt_gw_family = rt->rt_gw_family; in xfrm4_fill_dst()
[all …]
/linux/net/xfrm/
H A Dxfrm_policy.c187 static int xfrm_bundle_ok(struct xfrm_dst *xdst);
2600 struct xfrm_dst *xdst; in xfrm_alloc_dst() local
2617 xdst = dst_alloc(dst_ops, NULL, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()
2619 if (likely(xdst)) { in xfrm_alloc_dst()
2620 memset_after(xdst, 0, u.dst); in xfrm_alloc_dst()
2622 xdst = ERR_PTR(-ENOBUFS); in xfrm_alloc_dst()
2626 return xdst; in xfrm_alloc_dst()
2638 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst() argument
2642 xfrm_policy_get_afinfo(xdst->u.dst.ops->family); in xfrm_fill_dst()
2648 err = afinfo->fill_dst(xdst, dev, fl); in xfrm_fill_dst()
[all …]
H A Dxfrm_device.c424 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dev_offload_ok() local
433 !xdst->child->xfrm) { in xfrm_dev_offload_ok()
434 mtu = xfrm_state_mtu(x, xdst->child_mtu_cached); in xfrm_dev_offload_ok()
H A Dxfrm_iptfs.c1798 struct xfrm_dst *xdst = (struct xfrm_dst *)skb_dst(skb); in iptfs_get_cur_pmtu() local
1800 u32 pmtu = __iptfs_get_inner_mtu(x, xdst->child_mtu_cached); in iptfs_get_cur_pmtu()
/linux/include/net/
H A Dxfrm.h392 int (*fill_dst)(struct xfrm_dst *xdst,
1099 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local
1101 return xdst->path; in xfrm_dst_path()
1111 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local
1112 return xdst->child; in xfrm_dst_child()
1119 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument
1121 xdst->child = child; in xfrm_dst_set_child()
1124 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument
1126 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()
1127 dst_release(xdst->route); in xfrm_dst_destroy()
[all …]
/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
/linux/net/core/
H A Ddst.c108 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in dst_destroy() local
110 child = xdst->child; in dst_destroy()
H A Dpktgen.c435 struct xfrm_dst xdst; member
2720 skb->_skb_refdst = (unsigned long)&pkt_dev->xdst.u.dst | SKB_DST_NOREF; in pktgen_output_ipsec()
3900 pkt_dev->xdst.u.dst.dev = pkt_dev->odev; in pktgen_add_device()
3901 dst_init_metrics(&pkt_dev->xdst.u.dst, pktgen_dst_metrics, false); in pktgen_add_device()
3902 pkt_dev->xdst.child = &pkt_dev->xdst.u.dst; in pktgen_add_device()
3903 pkt_dev->xdst.u.dst.ops = &pkt_dev->dstops; in pktgen_add_device()
/linux/include/video/
H A Dmmp_disp.h72 u16 xdst; member
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
H A Dhub.fuc590 xdst $r0 $r1
/linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
H A Dcom.fuc234 xdst $r0 $r4