Home
last modified time | relevance | path

Searched refs:lib_infop (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/smhba/common/
H A DSMHBAAPILIB.c261 #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
[all …]
/illumos-gate/usr/src/lib/hbaapi/common/
H A DHBAAPILIB.c328 HBA_LIBRARY_INFO *lib_infop; in HBA_CheckLibrary() local
339 for(lib_infop = _hbaapi_librarylist; in HBA_CheckLibrary()
340 lib_infop != NULL; in HBA_CheckLibrary()
341 lib_infop = lib_infop->next) { in HBA_CheckLibrary()
342 if(lib_infop->index == libraryIndex) { in HBA_CheckLibrary()
343 if(lib_infop->status != HBA_LIBRARY_LOADED) { in HBA_CheckLibrary()
346 *lib_infopp = lib_infop; in HBA_CheckLibrary()
355 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);\
530 HBA_LIBRARY_INFO *lib_infop; in HBA_LoadLibrary() local
578 lib_infop = (HBA_LIBRARY_INFO *)calloc(1, sizeof(HBA_LIBRARY_INFO)); in HBA_LoadLibrary()
[all …]
H A DHBAAPILIB-sun.c296 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()
[all …]