Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/hbaapi/common/
H A DHBAAPILIB-sun.c302 HBA_TGTADAPTER_INFO *adapt_infop; in Sun_HBA_GetNumberOfTgtAdapters() local
349 for(adapt_infop = _hbaapi_tgtadapterlist; in Sun_HBA_GetNumberOfTgtAdapters()
350 adapt_infop != NULL; in Sun_HBA_GetNumberOfTgtAdapters()
351 adapt_infop = adapt_infop->next) { in Sun_HBA_GetNumberOfTgtAdapters()
357 if(strcmp(adaptername, adapt_infop->name) == 0) { in Sun_HBA_GetNumberOfTgtAdapters()
368 adapt_infop = (HBA_TGTADAPTER_INFO *) in Sun_HBA_GetNumberOfTgtAdapters()
370 if(adapt_infop == NULL) { in Sun_HBA_GetNumberOfTgtAdapters()
380 if((adapt_infop->GNstatus = status) == HBA_STATUS_OK) { in Sun_HBA_GetNumberOfTgtAdapters()
381 adapt_infop->name = strdup(adaptername); in Sun_HBA_GetNumberOfTgtAdapters()
387 adapt_infop->name = strdup(dummyname); in Sun_HBA_GetNumberOfTgtAdapters()
[all …]
H A DHBAAPILIB.c883 HBA_ADAPTER_INFO *adapt_infop; in HBA_FreeLibrary() local
917 for(adapt_infop = _hbaapi_adapterlist; in HBA_FreeLibrary()
918 adapt_infop != NULL; in HBA_FreeLibrary()
919 adapt_infop = adapt_next) { in HBA_FreeLibrary()
920 adapt_next = adapt_infop->next; in HBA_FreeLibrary()
921 free(adapt_infop->name); in HBA_FreeLibrary()
922 free(adapt_infop); in HBA_FreeLibrary()
992 HBA_ADAPTER_INFO *adapt_infop; in HBA_GetNumberOfAdapters() local
1036 for(adapt_infop = _hbaapi_adapterlist; in HBA_GetNumberOfAdapters()
1037 adapt_infop != NULL; in HBA_GetNumberOfAdapters()
[all …]
/illumos-gate/usr/src/lib/smhba/common/
H A DSMHBAAPILIB.c1167 HBA_ADAPTER_INFO *adapt_infop; in HBA_FreeLibrary() local
1209 for (adapt_infop = _hbaapi_adapterlist; in HBA_FreeLibrary()
1210 adapt_infop != NULL; in HBA_FreeLibrary()
1211 adapt_infop = adapt_next) { in HBA_FreeLibrary()
1212 adapt_next = adapt_infop->next; in HBA_FreeLibrary()
1213 free(adapt_infop->name); in HBA_FreeLibrary()
1214 free(adapt_infop); in HBA_FreeLibrary()
1301 HBA_ADAPTER_INFO *adapt_infop; in HBA_GetNumberOfAdapters() local
1345 for (adapt_infop = _hbaapi_adapterlist; in HBA_GetNumberOfAdapters()
1346 adapt_infop != NULL; in HBA_GetNumberOfAdapters()
[all …]