Lines Matching refs:ti

309 	eibnx_thr_info_t *ti;  in eibnx_subnet_notices_handler()  local
322 for (ti = ss->nx_thr_info; ti; ti = ti->ti_next) { in eibnx_subnet_notices_handler()
323 mutex_enter(&ti->ti_event_lock); in eibnx_subnet_notices_handler()
324 ti->ti_event |= ENX_EVENT_MCGS_AVAILABLE; in eibnx_subnet_notices_handler()
325 cv_broadcast(&ti->ti_event_cv); in eibnx_subnet_notices_handler()
326 mutex_exit(&ti->ti_event_lock); in eibnx_subnet_notices_handler()
889 eibnx_replace_portinfo(eibnx_thr_info_t *ti, ibt_hca_portinfo_t *new_pi, in eibnx_replace_portinfo() argument
899 if (hca->hc_hdl == ti->ti_hca) in eibnx_replace_portinfo()
905 ti->ti_hca); in eibnx_replace_portinfo()
911 if (port->po_pi == ti->ti_pi) { in eibnx_replace_portinfo()
915 ti->ti_pi = port->po_pi; in eibnx_replace_portinfo()
922 ti->ti_pi); in eibnx_replace_portinfo()
936 eibnx_thr_info_t *ti; in eibnx_handle_port_events() local
948 for (ti = ss->nx_thr_info; ti; ti = ti->ti_next) { in eibnx_handle_port_events()
949 if ((ti->ti_hca == ev_hca) && in eibnx_handle_port_events()
950 (ti->ti_pi->p_port_num == ev_portnum)) { in eibnx_handle_port_events()
956 if (ti == NULL) in eibnx_handle_port_events()
981 if (ti->ti_pi->p_base_lid != pi->p_base_lid) { in eibnx_handle_port_events()
982 if (eibnx_replace_portinfo(ti, pi, size_pi) == in eibnx_handle_port_events()
994 mutex_enter(&ti->ti_event_lock); in eibnx_handle_port_events()
995 if ((ti->ti_progress & ENX_MON_LINKSTATE_UP) != ENX_MON_LINKSTATE_UP) { in eibnx_handle_port_events()
996 ti->ti_pi->p_linkstate = IBT_PORT_ACTIVE; in eibnx_handle_port_events()
997 ti->ti_event |= ENX_EVENT_LINK_UP; in eibnx_handle_port_events()
998 cv_broadcast(&ti->ti_event_cv); in eibnx_handle_port_events()
1000 mutex_exit(&ti->ti_event_lock); in eibnx_handle_port_events()
1003 if (ti->ti_progress & ENX_MON_JOINED_MCGS) in eibnx_handle_port_events()
1004 (void) eibnx_rejoin_mcgs(ti); in eibnx_handle_port_events()
1015 eibnx_thr_info_t *ti; in eibnx_handle_hca_attach() local
1026 for (ti = ss->nx_thr_info; ti; ti = ti->ti_next) { in eibnx_handle_hca_attach()
1027 if (ti->ti_hca_guid == new_hca_guid) { in eibnx_handle_hca_attach()
1047 ti = eibnx_start_port_monitor(hca, port); in eibnx_handle_hca_attach()
1049 ti->ti_next = ss->nx_thr_info; in eibnx_handle_hca_attach()
1050 ss->nx_thr_info = ti; in eibnx_handle_hca_attach()
1060 eibnx_thr_info_t *ti; in eibnx_handle_hca_detach() local
1072 for (ti = ss->nx_thr_info; ti; ti = ti_next) { in eibnx_handle_hca_detach()
1073 ti_next = ti->ti_next; in eibnx_handle_hca_detach()
1075 if (ti->ti_hca_guid != del_hca_guid) { in eibnx_handle_hca_detach()
1076 ti_prev = ti; in eibnx_handle_hca_detach()
1089 ti->ti_next = ti_stop_list; in eibnx_handle_hca_detach()
1090 ti_stop_list = ti; in eibnx_handle_hca_detach()
1098 for (ti = ti_stop_list; ti; ti = ti_next) { in eibnx_handle_hca_detach()
1099 ti_next = ti->ti_next; in eibnx_handle_hca_detach()
1100 eibnx_stop_port_monitor(ti); in eibnx_handle_hca_detach()