Home
last modified time | relevance | path

Searched defs:tunnel (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.12.1/include/drm/display/
Ddrm_dp_tunnel.h24 struct drm_dp_tunnel *tunnel; member
36 static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_ref_get()
102 drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker) in drm_dp_tunnel_get()
108 drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker) {} in drm_dp_tunnel_put()
110 static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_ref_get()
123 drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_destroy()
128 static inline int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_enable_bw_alloc()
133 static inline int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_disable_bw_alloc()
138 static inline bool drm_dp_tunnel_bw_alloc_is_enabled(const struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_bw_alloc_is_enabled()
144 drm_dp_tunnel_alloc_bw(struct drm_dp_tunnel *tunnel, int bw) in drm_dp_tunnel_alloc_bw()
[all …]
/linux-6.12.1/drivers/gpu/drm/display/
Ddrm_dp_tunnel.c301 const char *drm_dp_tunnel_name(const struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_name()
364 tunnel_get(struct drm_dp_tunnel *tunnel) in tunnel_get()
373 struct drm_dp_tunnel *tunnel = container_of(kref, typeof(*tunnel), kref); in free_tunnel() local
383 static void tunnel_put(struct drm_dp_tunnel *tunnel) in tunnel_put()
389 static void track_tunnel_ref(struct drm_dp_tunnel *tunnel, in track_tunnel_ref()
396 static void untrack_tunnel_ref(struct drm_dp_tunnel *tunnel, in untrack_tunnel_ref()
403 static void track_tunnel_ref(struct drm_dp_tunnel *tunnel, in track_tunnel_ref()
408 static void untrack_tunnel_ref(struct drm_dp_tunnel *tunnel, in untrack_tunnel_ref()
428 drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_get()
445 void drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_put()
[all …]
/linux-6.12.1/drivers/thunderbolt/
Dtunnel.c150 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
170 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation()
204 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
297 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
377 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
653 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
752 static int tb_dp_bandwidth_alloc_mode_enable(struct tb_tunnel *tunnel) in tb_dp_bandwidth_alloc_mode_enable()
854 static int tb_dp_init(struct tb_tunnel *tunnel) in tb_dp_init()
880 static void tb_dp_deinit(struct tb_tunnel *tunnel) in tb_dp_deinit()
892 static int tb_dp_activate(struct tb_tunnel *tunnel, bool active) in tb_dp_activate()
[all …]
Dtunnel.h122 static inline bool tb_tunnel_is_pci(const struct tb_tunnel *tunnel) in tb_tunnel_is_pci()
127 static inline bool tb_tunnel_is_dp(const struct tb_tunnel *tunnel) in tb_tunnel_is_dp()
132 static inline bool tb_tunnel_is_dma(const struct tb_tunnel *tunnel) in tb_tunnel_is_dma()
137 static inline bool tb_tunnel_is_usb3(const struct tb_tunnel *tunnel) in tb_tunnel_is_usb3()
142 static inline bool tb_tunnel_direction_downstream(const struct tb_tunnel *tunnel) in tb_tunnel_direction_downstream()
150 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ argument
162 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
164 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
166 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
168 #define tb_tunnel_dbg(tunnel, fmt, arg...) \ argument
Dtb.c163 struct tb_tunnel *tunnel; in tb_discover_dp_resources() local
176 const struct tb_tunnel *tunnel; in tb_enable_clx() local
271 static void tb_increase_tmu_accuracy(struct tb_tunnel *tunnel) in tb_increase_tmu_accuracy()
374 struct tb_tunnel *tunnel = NULL; in tb_switch_discover_tunnels() local
487 struct tb_tunnel *tunnel; in tb_find_tunnel() local
549 struct tb_tunnel *tunnel; in tb_consumed_usb3_pcie_bandwidth() local
602 struct tb_tunnel *tunnel; in tb_consumed_dp_bandwidth() local
854 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth() local
864 struct tb_tunnel *tunnel; in tb_reclaim_usb3_bandwidth() local
895 struct tb_tunnel *tunnel; in tb_tunnel_usb3() local
[all …]
Dtest.c1393 struct tb_tunnel *tunnel; in tb_test_tunnel_dp() local
1431 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_chain() local
1477 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_tree() local
1528 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_max_length() local
1792 struct tb_tunnel *tunnel; in tb_test_tunnel_dma() local
1835 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_rx() local
1872 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_tx() local
1910 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_chain() local
1975 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_match() local
2027 struct tb_tunnel *tunnel; in tb_test_credit_alloc_legacy_not_bonded() local
[all …]
/linux-6.12.1/net/l2tp/
Dl2tp_core.c143 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
181 struct l2tp_tunnel *tunnel; in l2tp_sk_to_tunnel() local
200 void l2tp_tunnel_put(struct l2tp_tunnel *tunnel) in l2tp_tunnel_put()
218 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get() local
235 struct l2tp_tunnel *tunnel = NULL; in l2tp_tunnel_get_next() local
281 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v3_session_get() local
340 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v2_session_get_next() local
374 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v3_session_get_next() local
397 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v3_session_get_next() local
438 struct l2tp_tunnel *tunnel; in l2tp_session_get_by_ifname() local
[all …]
Dl2tp_netlink.c51 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get() local
105 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify()
193 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create() local
261 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete() local
291 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify() local
371 static int l2tp_nl_tunnel_send_addr(struct sk_buff *skb, struct l2tp_tunnel *tunnel) in l2tp_nl_tunnel_send_addr()
386 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
452 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get() local
503 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump() local
534 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_session_create() local
[all …]
Dl2tp_ppp.c267 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() local
344 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() local
625 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu()
640 struct l2tp_tunnel *tunnel; in pppol2tp_tunnel_get() local
704 struct l2tp_tunnel *tunnel; in pppol2tp_connect() local
849 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create()
895 struct l2tp_tunnel *tunnel; in pppol2tp_getname() local
1023 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats()
1147 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1232 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt() local
[all …]
Dl2tp_debugfs.c39 struct l2tp_tunnel *tunnel; member
125 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show() local
Dl2tp_eth.c185 static void l2tp_eth_adjust_mtu(struct l2tp_tunnel *tunnel, in l2tp_eth_adjust_mtu()
225 static int l2tp_eth_create(struct net *net, struct l2tp_tunnel *tunnel, in l2tp_eth_create()
Dl2tp_core.h71 struct l2tp_tunnel *tunnel; /* back pointer to tunnel context */ member
287 static inline u32 l2tp_tunnel_dst_mtu(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_dst_mtu()
303 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
311 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
Dl2tp_ip.c134 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv() local
259 struct l2tp_tunnel *tunnel; in l2tp_ip_destroy_sock() local
Dl2tp_ip6.c144 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() local
270 struct l2tp_tunnel *tunnel; in l2tp_ip6_destroy_sock() local
/linux-6.12.1/drivers/net/
Damt.c121 static u32 amt_source_hash(struct amt_tunnel_list *tunnel, union amt_addr *src) in amt_source_hash()
182 static struct amt_source_node *amt_lookup_src(struct amt_tunnel_list *tunnel, in amt_lookup_src()
198 static u32 amt_group_hash(struct amt_tunnel_list *tunnel, union amt_addr *group) in amt_group_hash()
205 static struct amt_group_node *amt_lookup_group(struct amt_tunnel_list *tunnel, in amt_lookup_group()
226 struct amt_tunnel_list *tunnel; in amt_destroy_source() local
294 struct amt_tunnel_list *tunnel; in amt_source_work() local
313 static void amt_act_src(struct amt_tunnel_list *tunnel, in amt_act_src()
413 struct amt_tunnel_list *tunnel = gnode->tunnel_list; in amt_group_work() local
464 struct amt_tunnel_list *tunnel, in amt_add_group()
590 static void __amt_update_relay_status(struct amt_tunnel_list *tunnel, in __amt_update_relay_status()
[all …]
/linux-6.12.1/net/ipv4/
Dip_tunnel.c237 struct ip_tunnel *tunnel; in __ip_tunnel_create() local
282 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev() local
376 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, in ip_tunnel_rcv()
516 struct ip_tunnel *tunnel = netdev_priv(dev); in tnl_update_pmtu() local
587 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_md_tunnel_xmit() local
685 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_xmit() local
1069 struct ip_tunnel *tunnel = netdev_priv(dev); in __ip_tunnel_change_mtu() local
1099 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dev_free() local
1107 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dellink() local
1121 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_get_link_net() local
[all …]
Dip_vti.c50 struct ip_tunnel *tunnel; in vti_input() local
103 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() local
172 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit() local
283 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit() local
320 struct ip_tunnel *tunnel; in vti4_err() local
438 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() local
454 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() local
Dip_gre.c271 struct ip_tunnel *tunnel; in erspan_rcv() local
365 struct ip_tunnel *tunnel; in __ipgre_rcv() local
473 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() local
495 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() local
538 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() local
648 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() local
700 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() local
755 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() local
783 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() local
991 struct ip_tunnel *tunnel; in __gre_tunnel_init() local
[all …]
Dipip.c221 struct ip_tunnel *tunnel; in ipip_tunnel_rcv() local
285 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() local
391 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() local
521 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() local
/linux-6.12.1/net/ipv6/
Dsit.c514 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit() local
605 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd()
626 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted()
643 struct ip_tunnel *tunnel) in packet_is_spoofed()
681 struct ip_tunnel *tunnel; in ipip6_rcv() local
754 struct ip_tunnel *tunnel; in sit_tunnel_rcv() local
807 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd()
842 static inline __be32 try_6rd(struct ip_tunnel *tunnel, in try_6rd()
858 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_xmit() local
1051 struct ip_tunnel *tunnel = netdev_priv(dev); in sit_tunnel_xmit__() local
[all …]
Dip6_gre.c491 struct ip6_tnl *tunnel; in ip6gre_rcv() local
528 struct ip6_tnl *tunnel; in ip6erspan_rcv() local
751 struct ip6_tnl *tunnel = netdev_priv(dev); in __gre6_xmit() local
1191 static int ip6gre_calc_hlen(struct ip6_tnl *tunnel) in ip6gre_calc_hlen()
1494 struct ip6_tnl *tunnel; in ip6gre_tunnel_init_common() local
1535 struct ip6_tnl *tunnel; in ip6gre_tunnel_init() local
1558 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6gre_fb_tunnel_init() local
1863 static int ip6erspan_calc_hlen(struct ip6_tnl *tunnel) in ip6erspan_calc_hlen()
1878 struct ip6_tnl *tunnel; in ip6erspan_tap_init() local
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_dp_tunnel.c177 struct drm_dp_tunnel *tunnel; in detect_new_tunnel() local
371 struct drm_dp_tunnel *tunnel, in add_inherited_tunnel()
461 struct drm_dp_tunnel *tunnel) in intel_dp_tunnel_atomic_add_group_state()
493 struct drm_dp_tunnel *tunnel = new_crtc_state->dp_tunnel_ref.tunnel; in intel_dp_tunnel_atomic_add_state_for_crtc() local
684 struct drm_dp_tunnel *tunnel; in atomic_decrease_bw() local
711 struct drm_dp_tunnel *tunnel, in queue_retry_work()
739 struct drm_dp_tunnel *tunnel = crtc_state->dp_tunnel_ref.tunnel; in atomic_increase_bw() local
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c126 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(dev); in mlx5e_route_lookup_ipv4_get() local
449 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(dev); in mlx5e_route_lookup_ipv6_get() local
777 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(netdev); in mlx5e_tc_tun_device_to_offload() local
790 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(tunnel_dev); in mlx5e_tc_tun_init_encap_attr() local
806 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(filter_dev); in mlx5e_tc_tun_parse() local
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.h26 bool tunnel; member
Dport_sel.c198 enum mlx5_traffic_types tt, bool tunnel, in mlx5_lag_set_definer()
296 enum mlx5_traffic_types tt, bool tunnel, u8 *ports) in mlx5_lag_create_definer()

12