Lines Matching refs:hca
345 eibnx_async_handler(void *clnt_pvt, ibt_hca_hdl_t hca,
368 eibnx_handle_port_events(hca, event->ev_port);
375 eibnx_handle_port_events(hca, event->ev_port);
382 eibnx_handle_port_events(hca, event->ev_port);
893 eibnx_hca_t *hca;
898 for (hca = ss->nx_hca; hca; hca = hca->hc_next) {
899 if (hca->hc_hdl == ti->ti_hca)
903 if (hca == NULL) {
904 ENX_DPRINTF_WARN("hca hdl (0x%llx) not found in hca list",
910 for (port = hca->hc_port; port; port = port->po_next) {
921 ENX_DPRINTF_WARN("portinfo (0x%llx) not found in hca list",
944 * Find the port monitor thread that matches the event hca and
1016 eibnx_hca_t *hca;
1028 ENX_DPRINTF_VERBOSE("hca (guid=0x%llx) already "
1040 if ((hca = eibnx_prepare_hca(new_hca_guid)) != NULL) {
1043 hca->hc_next = ss->nx_hca;
1044 ss->nx_hca = hca;
1046 for (port = hca->hc_port; port; port = port->po_next) {
1047 ti = eibnx_start_port_monitor(hca, port);
1064 eibnx_hca_t *hca;
1109 for (hca = ss->nx_hca; hca; hca = hca->hc_next) {
1110 if (hca->hc_guid != del_hca_guid) {
1111 hca_prev = hca;
1114 hca_prev->hc_next = hca->hc_next;
1116 ss->nx_hca = hca->hc_next;
1118 hca->hc_next = NULL;
1124 if (hca) {
1125 (void) eibnx_cleanup_hca(hca);