Lines Matching refs:lib_infop

261 #define	FUNCTABLE(lib_infop) \  argument
262 ((lib_infop->version == SMHBA) ? \
263 lib_infop->ftable.smhbafunctionTable : \
264 lib_infop->ftable.functionTable);
270 #define FUNCCOMMON(lib_infop, func) \ argument
271 ((lib_infop->version == SMHBA) ? \
272 lib_infop->ftable.smhbafunctionTable.func : \
273 lib_infop->ftable.functionTable.func)
279 #define FUNCHBAAPIV2(lib_infop, func) \ argument
280 lib_infop->ftable.functionTable.func
286 #define FUNCSMHBA(lib_infop, func) \ argument
287 lib_infop->ftable.smhbafunctionTable.func
433 HBA_LIBRARY_INFO *lib_infop; in HBA_CheckLibrary() local
441 for (lib_infop = _hbaapi_librarylist; in HBA_CheckLibrary()
442 lib_infop != NULL; in HBA_CheckLibrary()
443 lib_infop = lib_infop->next) { in HBA_CheckLibrary()
444 if (lib_infop->index == libraryIndex) { in HBA_CheckLibrary()
445 if (lib_infop->status != HBA_LIBRARY_LOADED) { in HBA_CheckLibrary()
448 *lib_infopp = lib_infop; in HBA_CheckLibrary()
457 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);\
463 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle); \
467 if (ver != lib_infop->version) { \
689 HBA_LIBRARY_INFO *lib_infop; in HBA_LoadLibrary() local
742 lib_infop = (HBA_LIBRARY_INFO *)calloc(1, sizeof (HBA_LIBRARY_INFO)); in HBA_LoadLibrary()
743 if (lib_infop == NULL) { in HBA_LoadLibrary()
749 lib_infop->status = HBA_LIBRARY_NOT_LOADED; in HBA_LoadLibrary()
750 lib_infop->next = _hbaapi_librarylist; in HBA_LoadLibrary()
751 lib_infop->index = _hbaapi_total_library_count; in HBA_LoadLibrary()
753 _hbaapi_librarylist = lib_infop; in HBA_LoadLibrary()
756 lib_infop->hLibrary = LoadLibrary(byFileName); in HBA_LoadLibrary()
757 if (lib_infop->hLibrary == NULL) { in HBA_LoadLibrary()
762 lib_infop->LibraryPath = strdup(byFileName); in HBA_LoadLibrary()
766 GetProcAddress(lib_infop->hLibrary, "SMHBA_RegisterLibrary"); in HBA_LoadLibrary()
769 (&lib_infop->ftable.smhbafunctionTable)); in HBA_LoadLibrary()
775 lib_infop->version = SMHBA; in HBA_LoadLibrary()
780 lib_infop->hLibrary, "HBA_RegisterLibraryV2"); in HBA_LoadLibrary()
787 (HBA_ENTRYPOINTSV2 *)(&lib_infop->ftable.functionTable)); in HBA_LoadLibrary()
793 lib_infop->version = HBAAPIV2; in HBA_LoadLibrary()
798 GetProcAddress(lib_infop->hLibrary, "HBA_RegisterLibrary"); in HBA_LoadLibrary()
808 (HBA_ENTRYPOINTS *)(&lib_infop->ftable.functionTable))); in HBA_LoadLibrary()
814 lib_infop->version = HBAAPI; in HBA_LoadLibrary()
824 GetVersionFunc = FUNCCOMMON(lib_infop, GetVersionHandler); in HBA_LoadLibrary()
826 if (lib_infop->version == SMHBA) { in HBA_LoadLibrary()
849 LoadLibraryFunc = FUNCCOMMON(lib_infop, LoadLibraryHandler); in HBA_LoadLibrary()
863 lib_infop->status = HBA_LIBRARY_LOADED; in HBA_LoadLibrary()
877 HBA_LIBRARY_INFO *lib_infop; in HBA_LoadLibrary() local
945 lib_infop = (HBA_LIBRARY_INFO *)calloc(1, sizeof (HBA_LIBRARY_INFO)); in HBA_LoadLibrary()
946 if (lib_infop == NULL) { in HBA_LoadLibrary()
952 lib_infop->status = HBA_LIBRARY_NOT_LOADED; in HBA_LoadLibrary()
953 lib_infop->LibraryName = strdup(libraryname); in HBA_LoadLibrary()
954 lib_infop->LibraryPath = strdup(librarypath); in HBA_LoadLibrary()
955 lib_infop->numOfAdapters = 0; in HBA_LoadLibrary()
956 lib_infop->version = UNKNOWN; in HBA_LoadLibrary()
957 lib_infop->index = _hbaapi_total_library_count; in HBA_LoadLibrary()
959 lib_infop->next = _hbaapi_librarylist; in HBA_LoadLibrary()
960 _hbaapi_librarylist = lib_infop; in HBA_LoadLibrary()
963 if ((lib_infop->hLibrary = dlopen(librarypath, RTLD_LAZY)) == NULL) { in HBA_LoadLibrary()
969 dlsym(lib_infop->hLibrary, "SMHBA_RegisterLibrary"); in HBA_LoadLibrary()
976 (&lib_infop->ftable.smhbafunctionTable)); in HBA_LoadLibrary()
981 lib_infop->version = SMHBA; in HBA_LoadLibrary()
985 dlsym(lib_infop->hLibrary, "HBA_RegisterLibraryV2"); in HBA_LoadLibrary()
992 (&lib_infop->ftable.functionTable))); in HBA_LoadLibrary()
997 lib_infop->version = HBAAPIV2; in HBA_LoadLibrary()
1002 dlsym(lib_infop->hLibrary, "HBA_RegisterLibrary"); in HBA_LoadLibrary()
1018 ((HBA_ENTRYPOINTS *)(&lib_infop->ftable.functionTable))); in HBA_LoadLibrary()
1031 lib_infop->version = HBAAPI; in HBA_LoadLibrary()
1041 if ((GetVersionFunc = FUNCCOMMON(lib_infop, GetVersionHandler)) in HBA_LoadLibrary()
1045 if (lib_infop->version == SMHBA) { in HBA_LoadLibrary()
1066 LoadLibraryFunc = FUNCCOMMON(lib_infop, LoadLibraryHandler); in HBA_LoadLibrary()
1087 lib_infop->status = HBA_LIBRARY_LOADED; in HBA_LoadLibrary()
1163 HBA_LIBRARY_INFO *lib_infop; in HBA_FreeLibrary() local
1179 for (lib_infop = _hbaapi_librarylist; lib_infop != NULL; in HBA_FreeLibrary()
1180 lib_infop = lib_next) { in HBA_FreeLibrary()
1181 lib_next = lib_infop->next; in HBA_FreeLibrary()
1182 if (lib_infop->status == HBA_LIBRARY_LOADED) { in HBA_FreeLibrary()
1183 FreeLibraryFunc = FUNCCOMMON(lib_infop, FreeLibraryHandler); in HBA_FreeLibrary()
1190 FreeLibrary(lib_infop->hLibrary); /* Unload DLL from memory */ in HBA_FreeLibrary()
1192 (void) dlclose(lib_infop->hLibrary); /* Unload DLL from memory */ in HBA_FreeLibrary()
1196 free(lib_infop->LibraryName); in HBA_FreeLibrary()
1198 free(lib_infop->LibraryPath); in HBA_FreeLibrary()
1199 free(lib_infop); in HBA_FreeLibrary()
1297 HBA_LIBRARY_INFO *lib_infop; in HBA_GetNumberOfAdapters() local
1313 for (lib_infop = _hbaapi_librarylist; in HBA_GetNumberOfAdapters()
1314 lib_infop != NULL; in HBA_GetNumberOfAdapters()
1315 lib_infop = lib_infop->next) { in HBA_GetNumberOfAdapters()
1317 if (lib_infop->status != HBA_LIBRARY_LOADED) { in HBA_GetNumberOfAdapters()
1322 FUNCCOMMON(lib_infop, GetNumberOfAdaptersHandler); in HBA_GetNumberOfAdapters()
1329 lib_infop->LibraryName, num_adapters, 0); in HBA_GetNumberOfAdapters()
1332 lib_infop->LibraryPath, num_adapters, 0); in HBA_GetNumberOfAdapters()
1336 GetAdapterNameFunc = FUNCCOMMON(lib_infop, GetAdapterNameHandler); in HBA_GetNumberOfAdapters()
1383 lib_infop->LibraryPath, _hbaapi_total_adapter_count); in HBA_GetNumberOfAdapters()
1387 lib_infop->numOfAdapters++; in HBA_GetNumberOfAdapters()
1388 adapt_infop->library = lib_infop; in HBA_GetNumberOfAdapters()
1447 HBA_LIBRARY_INFO *lib_infop; in HBA_OpenAdapter() local
1467 lib_infop = adapt_infop->library; in HBA_OpenAdapter()
1468 OpenAdapterFunc = FUNCCOMMON(lib_infop, OpenAdapterHandler); in HBA_OpenAdapter()
1475 handle = HBA_HANDLE_FROM_LOCAL(lib_infop->index, handle); in HBA_OpenAdapter()
1489 HBA_LIBRARY_INFO *lib_infop; in HBA_OpenAdapterByWWN() local
1502 for (lib_infop = _hbaapi_librarylist; in HBA_OpenAdapterByWWN()
1503 lib_infop != NULL; in HBA_OpenAdapterByWWN()
1504 lib_infop = lib_infop->next) { in HBA_OpenAdapterByWWN()
1508 if (lib_infop->status != HBA_LIBRARY_LOADED) { in HBA_OpenAdapterByWWN()
1513 if (lib_infop->version != HBAAPIV2) { in HBA_OpenAdapterByWWN()
1518 FUNCCOMMON(lib_infop, GetNumberOfAdaptersHandler); in HBA_OpenAdapterByWWN()
1527 lib_infop->ftable.functionTable.OpenAdapterByWWNHandler; in HBA_OpenAdapterByWWN()
1539 *phandle = HBA_HANDLE_FROM_LOCAL(lib_infop->index, handle); in HBA_OpenAdapterByWWN()
1687 HBA_LIBRARY_INFO *lib_infop; in HBA_RegisterForAdapterAddEvents() local
1727 for (lib_infop = _hbaapi_librarylist; in HBA_RegisterForAdapterAddEvents()
1728 lib_infop != NULL; in HBA_RegisterForAdapterAddEvents()
1729 lib_infop = lib_infop->next) { in HBA_RegisterForAdapterAddEvents()
1732 if ((lib_infop->version != HBAAPIV2)) { in HBA_RegisterForAdapterAddEvents()
1739 lib_infop->ftable.functionTable.RegisterForAdapterAddEventsHandler; in HBA_RegisterForAdapterAddEvents()
1769 lib_infop->LibraryPath, status, 0); in HBA_RegisterForAdapterAddEvents()
1773 lib_infop->LibraryPath, status); in HBA_RegisterForAdapterAddEvents()
1781 vcbp->lib_info = lib_infop; in HBA_RegisterForAdapterAddEvents()
1870 HBA_LIBRARY_INFO *lib_infop; in HBA_RegisterForAdapterEvents() local
1880 lib_infop->ftable.functionTable.RegisterForAdapterEventsHandler; in HBA_RegisterForAdapterEvents()
1903 acbp->lib_info = lib_infop; in HBA_RegisterForAdapterEvents()
1961 HBA_LIBRARY_INFO *lib_infop; in HBA_RegisterForAdapterPortEvents() local
1971 lib_infop->ftable.functionTable.RegisterForAdapterPortEventsHandler; in HBA_RegisterForAdapterPortEvents()
1996 acbp->lib_info = lib_infop; in HBA_RegisterForAdapterPortEvents()
2055 HBA_LIBRARY_INFO *lib_infop; in HBA_RegisterForAdapterPortStatEvents() local
2065 lib_infop->ftable.functionTable.RegisterForAdapterPortStatEventsHandler; in HBA_RegisterForAdapterPortStatEvents()
2089 acbp->lib_info = lib_infop; in HBA_RegisterForAdapterPortStatEvents()
2155 HBA_LIBRARY_INFO *lib_infop; in HBA_RegisterForTargetEvents() local
2165 lib_infop->ftable.functionTable.RegisterForTargetEventsHandler; in HBA_RegisterForTargetEvents()
2188 acbp->lib_info = lib_infop; in HBA_RegisterForTargetEvents()
2252 HBA_LIBRARY_INFO *lib_infop; in HBA_RegisterForLinkEvents() local
2260 registeredfunc = FUNCCOMMON(lib_infop, RegisterForLinkEventsHandler); in HBA_RegisterForLinkEvents()
2284 acbp->lib_info = lib_infop; in HBA_RegisterForLinkEvents()
2313 HBA_LIBRARY_INFO *lib_infop; in HBA_CloseAdapter() local
2319 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle); in HBA_CloseAdapter()
2321 CloseAdapterFunc = FUNCCOMMON(lib_infop, CloseAdapterHandler); in HBA_CloseAdapter()
2336 HBA_LIBRARY_INFO *lib_infop; in HBA_GetAdapterAttributes() local
2344 if (lib_infop->version == SMHBA) { in HBA_GetAdapterAttributes()
2349 lib_infop->ftable.functionTable.GetAdapterAttributesHandler; in HBA_GetAdapterAttributes()
2365 HBA_LIBRARY_INFO *lib_infop; in HBA_GetAdapterPortAttributes() local
2373 if (lib_infop->version == SMHBA) { in HBA_GetAdapterPortAttributes()
2378 lib_infop->ftable.functionTable.GetAdapterPortAttributesHandler; in HBA_GetAdapterPortAttributes()
2395 HBA_LIBRARY_INFO *lib_infop; in HBA_GetPortStatistics() local
2403 if (lib_infop->version == SMHBA) { in HBA_GetPortStatistics()
2408 lib_infop->ftable.functionTable.GetPortStatisticsHandler; in HBA_GetPortStatistics()
2426 HBA_LIBRARY_INFO *lib_infop; in HBA_GetDiscoveredPortAttributes() local
2434 if (lib_infop->version == SMHBA) { in HBA_GetDiscoveredPortAttributes()
2439 lib_infop->ftable.functionTable.GetDiscoveredPortAttributesHandler; in HBA_GetDiscoveredPortAttributes()
2457 HBA_LIBRARY_INFO *lib_infop; in HBA_GetPortAttributesByWWN() local
2465 if (lib_infop->version == SMHBA) { in HBA_GetPortAttributesByWWN()
2470 lib_infop->ftable.functionTable.GetPortAttributesByWWNHandler; in HBA_GetPortAttributesByWWN()
2489 HBA_LIBRARY_INFO *lib_infop; in HBA_SendCTPassThru() local
2497 if (lib_infop->version == SMHBA) { in HBA_SendCTPassThru()
2502 lib_infop->ftable.functionTable.SendCTPassThruHandler; in HBA_SendCTPassThru()
2524 HBA_LIBRARY_INFO *lib_infop; in HBA_SendCTPassThruV2() local
2533 registeredfunc = FUNCCOMMON(lib_infop, SendCTPassThruV2Handler); in HBA_SendCTPassThruV2()
2552 HBA_LIBRARY_INFO *lib_infop; in HBA_GetEventBuffer() local
2560 if (lib_infop->version == SMHBA) { in HBA_GetEventBuffer()
2565 lib_infop->ftable.functionTable.GetEventBufferHandler; in HBA_GetEventBuffer()
2578 HBA_LIBRARY_INFO *lib_infop; in HBA_SetRNIDMgmtInfo() local
2586 SetRNIDMgmtInfoFunc = FUNCCOMMON(lib_infop, SetRNIDMgmtInfoHandler); in HBA_SetRNIDMgmtInfo()
2598 HBA_LIBRARY_INFO *lib_infop; in HBA_GetRNIDMgmtInfo() local
2606 GetRNIDMgmtInfoFunc = FUNCCOMMON(lib_infop, GetRNIDMgmtInfoHandler); in HBA_GetRNIDMgmtInfo()
2624 HBA_LIBRARY_INFO *lib_infop; in HBA_SendRNID() local
2631 if (lib_infop->version == SMHBA) { in HBA_SendRNID()
2635 SendRNIDFunc = lib_infop->ftable.functionTable.SendRNIDHandler; in HBA_SendRNID()
2656 HBA_LIBRARY_INFO *lib_infop; in HBA_SendRNIDV2() local
2663 registeredfunc = FUNCCOMMON(lib_infop, SendRNIDV2Handler); in HBA_SendRNIDV2()
2677 HBA_LIBRARY_INFO *lib_infop; in HBA_RefreshInformation() local
2684 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle); in HBA_RefreshInformation()
2687 FUNCCOMMON(lib_infop, RefreshInformationHandler); in HBA_RefreshInformation()
2698 HBA_LIBRARY_INFO *lib_infop; in HBA_ResetStatistics() local
2705 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle); in HBA_ResetStatistics()
2707 if (lib_infop->version == SMHBA) { in HBA_ResetStatistics()
2712 lib_infop->ftable.functionTable.ResetStatisticsHandler; in HBA_ResetStatistics()
2723 HBA_LIBRARY_INFO *lib_infop; in HBA_GetFcpTargetMapping() local
2730 if (lib_infop->version == SMHBA) { in HBA_GetFcpTargetMapping()
2735 lib_infop->ftable.functionTable.GetFcpTargetMappingHandler; in HBA_GetFcpTargetMapping()
2751 HBA_LIBRARY_INFO *lib_infop; in HBA_GetFcpTargetMappingV2() local
2761 lib_infop->ftable.functionTable.GetFcpTargetMappingV2Handler; in HBA_GetFcpTargetMappingV2()
2773 HBA_LIBRARY_INFO *lib_infop; in HBA_GetFcpPersistentBinding() local
2781 if (lib_infop->version == SMHBA) { in HBA_GetFcpPersistentBinding()
2786 lib_infop->ftable.functionTable.GetFcpPersistentBindingHandler; in HBA_GetFcpPersistentBinding()
2810 HBA_LIBRARY_INFO *lib_infop; in HBA_ScsiInquiryV2() local
2820 lib_infop->ftable.functionTable.ScsiInquiryV2Handler; in HBA_ScsiInquiryV2()
2845 HBA_LIBRARY_INFO *lib_infop; in HBA_SendScsiInquiry() local
2853 if (lib_infop->version == SMHBA) { in HBA_SendScsiInquiry()
2858 lib_infop->ftable.functionTable.ScsiInquiryHandler; in HBA_SendScsiInquiry()
2881 HBA_LIBRARY_INFO *lib_infop; in HBA_ScsiReportLUNsV2() local
2891 lib_infop->ftable.functionTable.ScsiReportLUNsV2Handler; in HBA_ScsiReportLUNsV2()
2914 HBA_LIBRARY_INFO *lib_infop; in HBA_SendReportLUNs() local
2921 if (lib_infop->version == SMHBA) { in HBA_SendReportLUNs()
2925 SendReportLUNsFunc = lib_infop->ftable.functionTable.ReportLUNsHandler; in HBA_SendReportLUNs()
2949 HBA_LIBRARY_INFO *lib_infop; in HBA_ScsiReadCapacityV2() local
2959 lib_infop->ftable.functionTable.ScsiReadCapacityV2Handler; in HBA_ScsiReadCapacityV2()
2983 HBA_LIBRARY_INFO *lib_infop; in HBA_SendReadCapacity() local
2991 if (lib_infop->version == SMHBA) { in HBA_SendReadCapacity()
2996 lib_infop->ftable.functionTable.ReadCapacityHandler; in HBA_SendReadCapacity()
3018 HBA_LIBRARY_INFO *lib_infop; in HBA_SendRPL() local
3026 registeredfunc = FUNCCOMMON(lib_infop, SendRPLHandler); in HBA_SendRPL()
3049 HBA_LIBRARY_INFO *lib_infop; in HBA_SendRPS() local
3057 registeredfunc = FUNCCOMMON(lib_infop, SendRPSHandler); in HBA_SendRPS()
3079 HBA_LIBRARY_INFO *lib_infop; in HBA_SendSRL() local
3086 registeredfunc = FUNCCOMMON(lib_infop, SendSRLHandler); in HBA_SendSRL()
3105 HBA_LIBRARY_INFO *lib_infop; in HBA_SendRLS() local
3113 registeredfunc = FUNCCOMMON(lib_infop, SendRLSHandler); in HBA_SendRLS()
3135 HBA_LIBRARY_INFO *lib_infop; in HBA_SendLIRR() local
3142 registeredfunc = FUNCCOMMON(lib_infop, SendLIRRHandler); in HBA_SendLIRR()
3160 HBA_LIBRARY_INFO *lib_infop; in HBA_GetBindingCapability() local
3170 lib_infop->ftable.functionTable.GetBindingCapabilityHandler; in HBA_GetBindingCapability()
3186 HBA_LIBRARY_INFO *lib_infop; in HBA_GetBindingSupport() local
3196 lib_infop->ftable.functionTable.GetBindingSupportHandler; in HBA_GetBindingSupport()
3212 HBA_LIBRARY_INFO *lib_infop; in HBA_SetBindingSupport() local
3222 lib_infop->ftable.functionTable.SetBindingSupportHandler; in HBA_SetBindingSupport()
3238 HBA_LIBRARY_INFO *lib_infop; in HBA_SetPersistentBindingV2() local
3249 lib_infop->ftable.functionTable.SetPersistentBindingV2Handler; in HBA_SetPersistentBindingV2()
3265 HBA_LIBRARY_INFO *lib_infop; in HBA_GetPersistentBindingV2() local
3276 lib_infop->ftable.functionTable.GetPersistentBindingV2Handler; in HBA_GetPersistentBindingV2()
3293 HBA_LIBRARY_INFO *lib_infop; in HBA_RemovePersistentBinding() local
3303 lib_infop->ftable.functionTable.RemovePersistentBindingHandler; in HBA_RemovePersistentBinding()
3318 HBA_LIBRARY_INFO *lib_infop; in HBA_RemoveAllPersistentBindings() local
3328 lib_infop->ftable.functionTable.RemoveAllPersistentBindingsHandler; in HBA_RemoveAllPersistentBindings()
3345 HBA_LIBRARY_INFO *lib_infop; in HBA_GetFC4Statistics() local
3355 lib_infop->ftable.functionTable.GetFC4StatisticsHandler; in HBA_GetFC4Statistics()
3372 HBA_LIBRARY_INFO *lib_infop; in HBA_GetFCPStatistics() local
3382 lib_infop->ftable.functionTable.GetFCPStatisticsHandler; in HBA_GetFCPStatistics()
3605 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetAdapterAttributes() local
3614 lib_infop->ftable.smhbafunctionTable.GetAdapterAttributesHandler; in SMHBA_GetAdapterAttributes()
3629 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetNumberOfPorts() local
3638 lib_infop->ftable.smhbafunctionTable.GetNumberOfPortsHandler; in SMHBA_GetNumberOfPorts()
3654 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetPortType() local
3663 lib_infop->ftable.smhbafunctionTable.GetPortTypeHandler; in SMHBA_GetPortType()
3679 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetAdapterPortAttributes() local
3689 lib_infop->ftable.smhbafunctionTable.\ in SMHBA_GetAdapterPortAttributes()
3708 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetDiscoveredPortAttributes() local
3718 lib_infop->ftable.smhbafunctionTable.\ in SMHBA_GetDiscoveredPortAttributes()
3738 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetPortAttributesByWWN() local
3748 lib_infop->ftable.smhbafunctionTable.GetPortAttributesByWWNHandler; in SMHBA_GetPortAttributesByWWN()
3766 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetFCPhyAttributes() local
3775 lib_infop->ftable.smhbafunctionTable.GetFCPhyAttributesHandler; in SMHBA_GetFCPhyAttributes()
3793 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetSASPhyAttributes() local
3802 lib_infop->ftable.smhbafunctionTable.GetSASPhyAttributesHandler; in SMHBA_GetSASPhyAttributes()
3820 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetProtocolStatistics() local
3831 lib_infop->ftable.smhbafunctionTable.GetProtocolStatisticsHandler; in SMHBA_GetProtocolStatistics()
3849 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetPhyStatistics() local
3860 lib_infop->ftable.smhbafunctionTable.GetPhyStatisticsHandler; in SMHBA_GetPhyStatistics()
3878 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetBindingCapability() local
3887 lib_infop->ftable.smhbafunctionTable.GetBindingCapabilityHandler; in SMHBA_GetBindingCapability()
3905 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetBindingSupport() local
3916 lib_infop->ftable.smhbafunctionTable.GetBindingSupportHandler; in SMHBA_GetBindingSupport()
3934 HBA_LIBRARY_INFO *lib_infop; in SMHBA_SetBindingSupport() local
3945 lib_infop->ftable.smhbafunctionTable.SetBindingSupportHandler; in SMHBA_SetBindingSupport()
3963 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetTargetMapping() local
3973 lib_infop->ftable.smhbafunctionTable.GetTargetMappingHandler; in SMHBA_GetTargetMapping()
3991 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetPersistentBinding() local
4002 lib_infop->ftable.smhbafunctionTable.GetPersistentBindingHandler; in SMHBA_GetPersistentBinding()
4020 HBA_LIBRARY_INFO *lib_infop; in SMHBA_SetPersistentBinding() local
4031 lib_infop->ftable.smhbafunctionTable.SetPersistentBindingHandler; in SMHBA_SetPersistentBinding()
4049 HBA_LIBRARY_INFO *lib_infop; in SMHBA_RemovePersistentBinding() local
4060 lib_infop->ftable.smhbafunctionTable.RemovePersistentBindingHandler; in SMHBA_RemovePersistentBinding()
4077 HBA_LIBRARY_INFO *lib_infop; in SMHBA_RemoveAllPersistentBindings() local
4088 lib_infop->ftable.smhbafunctionTable.\ in SMHBA_RemoveAllPersistentBindings()
4106 HBA_LIBRARY_INFO *lib_infop; in SMHBA_GetLUNStatistics() local
4115 lib_infop->ftable.smhbafunctionTable.GetLUNStatisticsHandler; in SMHBA_GetLUNStatistics()
4140 HBA_LIBRARY_INFO *lib_infop; in SMHBA_ScsiInquiry() local
4150 lib_infop->ftable.smhbafunctionTable.ScsiInquiryHandler; in SMHBA_ScsiInquiry()
4175 HBA_LIBRARY_INFO *lib_infop; in SMHBA_ScsiReportLUNs() local
4185 lib_infop->ftable.smhbafunctionTable.ScsiReportLUNsHandler; in SMHBA_ScsiReportLUNs()
4211 HBA_LIBRARY_INFO *lib_infop; in SMHBA_ScsiReadCapacity() local
4221 lib_infop->ftable.smhbafunctionTable.ScsiReadCapacityHandler; in SMHBA_ScsiReadCapacity()
4243 HBA_LIBRARY_INFO *lib_infop; in SMHBA_SendTEST() local
4253 SendTESTFunc = lib_infop->ftable.smhbafunctionTable.SendTESTHandler; in SMHBA_SendTEST()
4276 HBA_LIBRARY_INFO *lib_infop; in SMHBA_SendECHO() local
4285 SendECHOFunc = lib_infop->ftable.smhbafunctionTable.SendECHOHandler; in SMHBA_SendECHO()
4308 HBA_LIBRARY_INFO *lib_infop; in SMHBA_SendSMPPassThru() local
4317 SendSMPPassThruFunc = lib_infop->ftable.\ in SMHBA_SendSMPPassThru()
4387 HBA_LIBRARY_INFO *lib_infop; in SMHBA_RegisterForAdapterAddEvents() local
4424 for (lib_infop = _hbaapi_librarylist; in SMHBA_RegisterForAdapterAddEvents()
4425 lib_infop != NULL; in SMHBA_RegisterForAdapterAddEvents()
4426 lib_infop = lib_infop->next) { in SMHBA_RegisterForAdapterAddEvents()
4429 if (lib_infop->version != SMHBA) { in SMHBA_RegisterForAdapterAddEvents()
4436 lib_infop->ftable.smhbafunctionTable.\ in SMHBA_RegisterForAdapterAddEvents()
4461 lib_infop->LibraryPath, status, 0); in SMHBA_RegisterForAdapterAddEvents()
4468 vcbp->lib_info = lib_infop; in SMHBA_RegisterForAdapterAddEvents()
4560 HBA_LIBRARY_INFO *lib_infop; in SMHBA_RegisterForAdapterEvents() local
4569 registeredfunc = lib_infop->ftable.smhbafunctionTable.\ in SMHBA_RegisterForAdapterEvents()
4588 acbp->lib_info = lib_infop; in SMHBA_RegisterForAdapterEvents()
4650 HBA_LIBRARY_INFO *lib_infop; in SMHBA_RegisterForAdapterPortEvents() local
4660 lib_infop->ftable.smhbafunctionTable.\ in SMHBA_RegisterForAdapterPortEvents()
4679 acbp->lib_info = lib_infop; in SMHBA_RegisterForAdapterPortEvents()
4745 HBA_LIBRARY_INFO *lib_infop; in SMHBA_RegisterForAdapterPortStatEvents() local
4755 lib_infop->ftable.smhbafunctionTable.\ in SMHBA_RegisterForAdapterPortStatEvents()
4774 acbp->lib_info = lib_infop; in SMHBA_RegisterForAdapterPortStatEvents()
4841 HBA_LIBRARY_INFO *lib_infop; in SMHBA_RegisterForAdapterPhyStatEvents() local
4851 lib_infop->ftable.smhbafunctionTable.\ in SMHBA_RegisterForAdapterPhyStatEvents()
4870 acbp->lib_info = lib_infop; in SMHBA_RegisterForAdapterPhyStatEvents()
4939 HBA_LIBRARY_INFO *lib_infop; in SMHBA_RegisterForTargetEvents() local
4949 registeredfunc = lib_infop->ftable.smhbafunctionTable.\ in SMHBA_RegisterForTargetEvents()
4969 acbp->lib_info = lib_infop; in SMHBA_RegisterForTargetEvents()