Lines Matching refs:lib_infop
296 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_GetNumberOfTgtAdapters() local
314 for (lib_infop = _hbaapi_librarylist; in Sun_HBA_GetNumberOfTgtAdapters()
315 lib_infop != NULL; in Sun_HBA_GetNumberOfTgtAdapters()
316 lib_infop = lib_infop->next) { in Sun_HBA_GetNumberOfTgtAdapters()
318 if (lib_infop->status != HBA_LIBRARY_LOADED) { in Sun_HBA_GetNumberOfTgtAdapters()
322 if (lib_infop->hLibrary != NULL) { in Sun_HBA_GetNumberOfTgtAdapters()
324 dlsym(lib_infop->hLibrary, "Sun_fcGetNumberOfTgtAdapters"); in Sun_HBA_GetNumberOfTgtAdapters()
326 dlsym(lib_infop->hLibrary, "Sun_fcGetTgtAdapterName"); in Sun_HBA_GetNumberOfTgtAdapters()
339 lib_infop->LibraryName, num_adapters, 0); in Sun_HBA_GetNumberOfTgtAdapters()
342 lib_infop->LibraryPath, num_adapters, 0); in Sun_HBA_GetNumberOfTgtAdapters()
385 lib_infop->LibraryPath, _hbaapi_total_tgtadapter_count); in Sun_HBA_GetNumberOfTgtAdapters()
389 adapt_infop->library = lib_infop; in Sun_HBA_GetNumberOfTgtAdapters()
445 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_OpenTgtAdapter() local
463 lib_infop = adapt_infop->library; in Sun_HBA_OpenTgtAdapter()
465 dlsym(lib_infop->hLibrary, "Sun_fcOpenTgtAdapter"); in Sun_HBA_OpenTgtAdapter()
471 handle = HBA_HANDLE_FROM_LOCAL(lib_infop->index, handle); in Sun_HBA_OpenTgtAdapter()
488 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_OpenTgtAdapterByWWN() local
506 for (lib_infop = _hbaapi_librarylist; in Sun_HBA_OpenTgtAdapterByWWN()
507 lib_infop != NULL; in Sun_HBA_OpenTgtAdapterByWWN()
508 lib_infop = lib_infop->next) { in Sun_HBA_OpenTgtAdapterByWWN()
512 if (lib_infop->status != HBA_LIBRARY_LOADED) { in Sun_HBA_OpenTgtAdapterByWWN()
517 dlsym(lib_infop->hLibrary, "Sun_fcGetNumberOfTgtAdapters"); in Sun_HBA_OpenTgtAdapterByWWN()
519 dlsym(lib_infop->hLibrary, "Sun_fcOpenTgtAdapterByWWN"); in Sun_HBA_OpenTgtAdapterByWWN()
534 *phandle = HBA_HANDLE_FROM_LOCAL(lib_infop->index, handle); in Sun_HBA_OpenTgtAdapterByWWN()
548 HBA_LIBRARY_INFO *lib_infop; in HBA_NPIV_CheckLibrary() local
559 for(lib_infop = _hbaapi_librarylist; in HBA_NPIV_CheckLibrary()
560 lib_infop != NULL; in HBA_NPIV_CheckLibrary()
561 lib_infop = lib_infop->next) { in HBA_NPIV_CheckLibrary()
562 if(lib_infop->index == libraryIndex) { in HBA_NPIV_CheckLibrary()
563 if(lib_infop->status != HBA_LIBRARY_LOADED) { in HBA_NPIV_CheckLibrary()
566 *lib_infopp = lib_infop; in HBA_NPIV_CheckLibrary()
575 status = HBA_NPIV_CheckLibrary(handle, &lib_infop, &vendorHandle); \
587 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_NPIVGetAdapterAttributes() local
595 dlsym(lib_infop->hLibrary, "Sun_fcNPIVGetAdapterAttributes"); in Sun_HBA_NPIVGetAdapterAttributes()
613 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_GetNPIVPortInfo() local
619 dlsym(lib_infop->hLibrary, "Sun_fcGetNPIVPortInfo"); in Sun_HBA_GetNPIVPortInfo()
636 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_DeleteNPIVPort() local
642 dlsym(lib_infop->hLibrary, "Sun_fcDeleteNPIVPort"); in Sun_HBA_DeleteNPIVPort()
661 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_CreateNPIVPort() local
667 dlsym(lib_infop->hLibrary, "Sun_fcCreateNPIVPort"); in Sun_HBA_CreateNPIVPort()
684 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_GetPortNPIVAttributes() local
690 dlsym(lib_infop->hLibrary, "Sun_fcGetPortNPIVAttributes"); in Sun_HBA_GetPortNPIVAttributes()
710 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_AdapterCreateWWN() local
716 dlsym(lib_infop->hLibrary, "Sun_fcAdapterCreateWWN"); in Sun_HBA_AdapterCreateWWN()
734 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_AdapterReturnWWN() local
740 dlsym(lib_infop->hLibrary, "Sun_fcAdapterReturnWWN"); in Sun_HBA_AdapterReturnWWN()
800 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_RegisterForAdapterDeviceEvents() local
811 dlsym(lib_infop->hLibrary, in Sun_HBA_RegisterForAdapterDeviceEvents()
827 acbp->lib_info = lib_infop; in Sun_HBA_RegisterForAdapterDeviceEvents()
851 HBA_LIBRARY_INFO *lib_infop; in Sun_HBA_ForceLip() local
860 dlsym(lib_infop->hLibrary, "Sun_fcDoForceLip"); in Sun_HBA_ForceLip()