• Home
  • Raw
  • Download

Lines Matching refs:tcm

62 	struct tb_cm *tcm = tb_priv(tb);  in tb_discover_tunnels()  local
95 list_add_tail(&tunnel->list, &tcm->tunnel_list); in tb_discover_tunnels()
143 struct tb_cm *tcm = tb_priv(port->sw->tb); in tb_scan_port() local
203 if (!tcm->hotplug_active) in tb_scan_port()
226 struct tb_cm *tcm = tb_priv(tb); in tb_free_tunnel() local
229 list_for_each_entry(tunnel, &tcm->tunnel_list, list) { in tb_free_tunnel()
248 struct tb_cm *tcm = tb_priv(tb); in tb_free_invalid_tunnels() local
252 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) { in tb_free_invalid_tunnels()
363 struct tb_cm *tcm = tb_priv(tb); in tb_tunnel_dp() local
390 list_add_tail(&tunnel->list, &tcm->tunnel_list); in tb_tunnel_dp()
402 struct tb_cm *tcm = tb_priv(tb); in tb_tunnel_pci() local
431 list_add_tail(&tunnel->list, &tcm->tunnel_list); in tb_tunnel_pci()
437 struct tb_cm *tcm = tb_priv(tb); in tb_approve_xdomain_paths() local
463 list_add_tail(&tunnel->list, &tcm->tunnel_list); in tb_approve_xdomain_paths()
505 struct tb_cm *tcm = tb_priv(tb); in tb_handle_hotplug() local
509 if (!tcm->hotplug_active) in tb_handle_hotplug()
611 struct tb_cm *tcm = tb_priv(tb); in tb_stop() local
616 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) { in tb_stop()
627 tcm->hotplug_active = false; /* signal tb_handle_hotplug to quit */ in tb_stop()
653 struct tb_cm *tcm = tb_priv(tb); in tb_start() local
689 tcm->hotplug_active = true; in tb_start()
695 struct tb_cm *tcm = tb_priv(tb); in tb_suspend_noirq() local
699 tcm->hotplug_active = false; /* signal tb_handle_hotplug to quit */ in tb_suspend_noirq()
707 struct tb_cm *tcm = tb_priv(tb); in tb_resume_noirq() local
718 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) in tb_resume_noirq()
720 if (!list_empty(&tcm->tunnel_list)) { in tb_resume_noirq()
729 tcm->hotplug_active = true; in tb_resume_noirq()
783 struct tb_cm *tcm; in tb_probe() local
789 tb = tb_domain_alloc(nhi, sizeof(*tcm)); in tb_probe()
796 tcm = tb_priv(tb); in tb_probe()
797 INIT_LIST_HEAD(&tcm->tunnel_list); in tb_probe()