/kernel/linux/linux-5.10/net/ipv6/ |
H A D | xfrm6_policy.c | 77 static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm6_fill_dst() argument 80 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst() 82 xdst->u.dst.dev = dev; 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() 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() 97 xdst->u.rt6.rt6i_dst = rt->rt6i_dst; in xfrm6_fill_dst() 98 xdst in xfrm6_fill_dst() 110 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm6_update_pmtu() local 119 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm6_redirect() local 127 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm6_dst_destroy() local 140 struct xfrm_dst *xdst; xfrm6_dst_ifdown() local [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | xfrm6_policy.c | 70 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 in xfrm6_fill_dst() 101 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm6_update_pmtu() local 110 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm6_redirect() local 118 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm6_dst_destroy() local 129 struct xfrm_dst *xdst; xfrm6_dst_ifdown() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | xfrm4_policy.c | 71 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm4_fill_dst() argument 74 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst() 77 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst() 79 xdst->u.dst.dev = dev; in xfrm4_fill_dst() 84 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst() 85 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst() 87 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst() 88 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst() 89 xdst->u.rt.rt_gw_family = rt->rt_gw_family; in xfrm4_fill_dst() 91 xdst in xfrm4_fill_dst() 106 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm4_update_pmtu() local 115 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm4_redirect() local 123 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm4_dst_destroy() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | xfrm4_policy.c | 69 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 in xfrm4_fill_dst() 103 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm4_update_pmtu() local 112 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm4_redirect() local 120 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm4_dst_destroy() local [all...] |
/kernel/linux/linux-5.10/net/xfrm/ |
H A D | xfrm_policy.c | 166 static int xfrm_bundle_ok(struct xfrm_dst *xdst); 2471 struct xfrm_dst *xdst; in xfrm_alloc_dst() local 2488 xdst = dst_alloc(dst_ops, NULL, 1, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst() 2490 if (likely(xdst)) { in xfrm_alloc_dst() 2491 struct dst_entry *dst = &xdst->u.dst; in xfrm_alloc_dst() 2493 memset(dst + 1, 0, sizeof(*xdst) - sizeof(*dst)); in xfrm_alloc_dst() 2495 xdst = ERR_PTR(-ENOBUFS); in xfrm_alloc_dst() 2499 return xdst; in xfrm_alloc_dst() 2512 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst() argument 2516 xfrm_policy_get_afinfo(xdst in xfrm_fill_dst() 2564 struct xfrm_dst *xdst = xfrm_alloc_dst(net, family); xfrm_bundle_create() local 2726 struct xfrm_dst *xdst; xfrm_resolve_and_create_bundle() local 2847 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; xdst_queue_output() local 2895 struct xfrm_dst *xdst; xfrm_create_dummy_bundle() local 2951 struct xfrm_dst *xdst; xfrm_bundle_lookup() local 3039 struct xfrm_dst *xdst; xfrm_lookup_with_ifid() local 3819 struct xfrm_dst *xdst = bundle[nr]; xfrm_init_pmtu() local 3847 struct xfrm_dst *xdst; xfrm_bundle_ok() local 3860 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm_bundle_ok() local [all...] |
H A D | xfrm_device.c | 303 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dev_offload_ok() local 310 (!xdst->child->xfrm)) { in xfrm_dev_offload_ok() 311 mtu = xfrm_state_mtu(x, xdst->child_mtu_cached); in xfrm_dev_offload_ok()
|
/kernel/linux/linux-6.6/net/xfrm/ |
H A D | xfrm_policy.c | 166 static int xfrm_bundle_ok(struct xfrm_dst *xdst); 2552 struct xfrm_dst *xdst; in xfrm_alloc_dst() local 2569 xdst = dst_alloc(dst_ops, NULL, 1, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst() 2571 if (likely(xdst)) { in xfrm_alloc_dst() 2572 memset_after(xdst, 0, u.dst); in xfrm_alloc_dst() 2574 xdst = ERR_PTR(-ENOBUFS); in xfrm_alloc_dst() 2578 return xdst; in xfrm_alloc_dst() 2591 static inline int xfrm_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, in xfrm_fill_dst() argument 2595 xfrm_policy_get_afinfo(xdst->u.dst.ops->family); in xfrm_fill_dst() 2601 err = afinfo->fill_dst(xdst, de in xfrm_fill_dst() 2643 struct xfrm_dst *xdst = xfrm_alloc_dst(net, family); xfrm_bundle_create() local 2809 struct xfrm_dst *xdst; xfrm_resolve_and_create_bundle() local 2930 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; xdst_queue_output() local 2978 struct xfrm_dst *xdst; xfrm_create_dummy_bundle() local 3034 struct xfrm_dst *xdst; xfrm_bundle_lookup() local 3122 struct xfrm_dst *xdst; xfrm_lookup_with_ifid() local 3870 struct xfrm_dst *xdst = bundle[nr]; xfrm_init_pmtu() local 3898 struct xfrm_dst *xdst; xfrm_bundle_ok() local 3911 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; xfrm_bundle_ok() local [all...] |
H A D | xfrm_device.c | 407 struct xfrm_dst *xdst = (struct xfrm_dst *)dst; in xfrm_dev_offload_ok() local 416 !xdst->child->xfrm)) { in xfrm_dev_offload_ok() 417 mtu = xfrm_state_mtu(x, xdst->child_mtu_cached); in xfrm_dev_offload_ok()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | xfrm.h | 338 int (*fill_dst)(struct xfrm_dst *xdst, 921 * xdst->child points to the next element of bundle. 953 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local 955 return xdst->path; in xfrm_dst_path() 965 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local 966 return xdst->child; in xfrm_dst_child() 973 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument 975 xdst->child = child; in xfrm_dst_set_child() 978 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument 980 xfrm_pols_put(xdst in xfrm_dst_destroy() 1899 struct xfrm_dst *xdst; xfrm_dst_offload_ok() local [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | xfrm.h | 356 int (*fill_dst)(struct xfrm_dst *xdst, 939 * xdst->child points to the next element of bundle. 971 const struct xfrm_dst *xdst = (const struct xfrm_dst *) dst; in xfrm_dst_path() local 973 return xdst->path; in xfrm_dst_path() 983 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in xfrm_dst_child() local 984 return xdst->child; in xfrm_dst_child() 991 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() argument 993 xdst->child = child; in xfrm_dst_set_child() 996 static inline void xfrm_dst_destroy(struct xfrm_dst *xdst) in xfrm_dst_destroy() argument 998 xfrm_pols_put(xdst in xfrm_dst_destroy() 1955 struct xfrm_dst *xdst; xfrm_dst_offload_ok() local [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | dst.c | 107 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in dst_destroy() local 109 child = xdst->child; in dst_destroy()
|
H A D | pktgen.c | 415 struct xfrm_dst xdst; member 2514 skb->_skb_refdst = (unsigned long)&pkt_dev->xdst.u.dst | SKB_DST_NOREF; in pktgen_output_ipsec() 3658 pkt_dev->xdst.u.dst.dev = pkt_dev->odev; in pktgen_add_device() 3659 dst_init_metrics(&pkt_dev->xdst.u.dst, pktgen_dst_metrics, false); in pktgen_add_device() 3660 pkt_dev->xdst.child = &pkt_dev->xdst.u.dst; in pktgen_add_device() 3661 pkt_dev->xdst.u.dst.ops = &pkt_dev->dstops; in pktgen_add_device()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | dst.c | 107 struct xfrm_dst *xdst = (struct xfrm_dst *) dst; in dst_destroy() local 109 child = xdst->child; in dst_destroy()
|
H A D | pktgen.c | 431 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()
|
/kernel/linux/linux-5.10/include/video/ |
H A D | mmp_disp.h | 72 u16 xdst; member
|
/kernel/linux/linux-6.6/include/video/ |
H A D | mmp_disp.h | 72 u16 xdst; member
|
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.c | 146 writel_relaxed((win->ydst << 16) | win->xdst, in overlay_set_win() 155 writel_relaxed((win->ydst << 16) | win->xdst, in overlay_set_win()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.c | 146 writel_relaxed((win->ydst << 16) | win->xdst, in overlay_set_win() 155 writel_relaxed((win->ydst << 16) | win->xdst, in overlay_set_win()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 388 win.xsrc = win.xdst = fbi->mode.xres; in mmpfb_set_win()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 388 win.xsrc = win.xdst = fbi->mode.xres; in mmpfb_set_win()
|