Lines Matching refs:adapt_infop

1167     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()
1347 adapt_infop = adapt_infop->next) { in HBA_GetNumberOfAdapters()
1354 if (strcmp(adaptername, adapt_infop->name) == 0) { in HBA_GetNumberOfAdapters()
1365 adapt_infop = (HBA_ADAPTER_INFO *) in HBA_GetNumberOfAdapters()
1367 if (adapt_infop == NULL) { in HBA_GetNumberOfAdapters()
1378 if ((adapt_infop->GNstatus = status) == HBA_STATUS_OK) { in HBA_GetNumberOfAdapters()
1379 adapt_infop->name = strdup(adaptername); in HBA_GetNumberOfAdapters()
1385 adapt_infop->name = strdup(dummyname); in HBA_GetNumberOfAdapters()
1388 adapt_infop->library = lib_infop; in HBA_GetNumberOfAdapters()
1389 adapt_infop->next = _hbaapi_adapterlist; in HBA_GetNumberOfAdapters()
1390 adapt_infop->index = _hbaapi_total_adapter_count; in HBA_GetNumberOfAdapters()
1391 _hbaapi_adapterlist = adapt_infop; in HBA_GetNumberOfAdapters()
1404 HBA_ADAPTER_INFO *adapt_infop; in HBA_GetAdapterName() local
1421 for (adapt_infop = _hbaapi_adapterlist; in HBA_GetAdapterName()
1422 adapt_infop != NULL; in HBA_GetAdapterName()
1423 adapt_infop = adapt_infop->next) { in HBA_GetAdapterName()
1425 if (adapt_infop->index == adapterindex) { in HBA_GetAdapterName()
1426 if (adapt_infop->name != NULL && in HBA_GetAdapterName()
1427 adapt_infop->GNstatus == HBA_STATUS_OK) { in HBA_GetAdapterName()
1428 (void) strcpy(adaptername, adapt_infop->name); in HBA_GetAdapterName()
1432 ret = adapt_infop->GNstatus; in HBA_GetAdapterName()
1446 HBA_ADAPTER_INFO *adapt_infop; in HBA_OpenAdapter() local
1461 for (adapt_infop = _hbaapi_adapterlist; in HBA_OpenAdapter()
1462 adapt_infop != NULL; in HBA_OpenAdapter()
1463 adapt_infop = adapt_infop->next) { in HBA_OpenAdapter()
1464 if (strcmp(adaptername, adapt_infop->name) != 0) { in HBA_OpenAdapter()
1467 lib_infop = adapt_infop->library; in HBA_OpenAdapter()
3396 HBA_ADAPTER_INFO *adapt_infop; in HBA_GetVendorLibraryAttributes() local
3419 for (adapt_infop = _hbaapi_adapterlist; in HBA_GetVendorLibraryAttributes()
3420 adapt_infop != NULL; in HBA_GetVendorLibraryAttributes()
3421 adapt_infop = adapt_infop->next) { in HBA_GetVendorLibraryAttributes()
3423 if (adapt_infop->index == adapter_index) { in HBA_GetVendorLibraryAttributes()
3425 if (adapt_infop->library->version == SMHBA) { in HBA_GetVendorLibraryAttributes()
3431 registeredfunc = adapt_infop->library-> in HBA_GetVendorLibraryAttributes()
3438 GetVersionFunc = adapt_infop->library-> in HBA_GetVendorLibraryAttributes()
3450 if (strlen(adapt_infop->library->LibraryPath) < 256) { in HBA_GetVendorLibraryAttributes()
3452 adapt_infop->library->LibraryPath); in HBA_GetVendorLibraryAttributes()
3542 HBA_ADAPTER_INFO *adapt_infop; in SMHBA_GetVendorLibraryAttributes() local
3565 for (adapt_infop = _hbaapi_adapterlist; in SMHBA_GetVendorLibraryAttributes()
3566 adapt_infop != NULL; in SMHBA_GetVendorLibraryAttributes()
3567 adapt_infop = adapt_infop->next) { in SMHBA_GetVendorLibraryAttributes()
3569 if (adapt_infop->index == adapter_index) { in SMHBA_GetVendorLibraryAttributes()
3571 if (adapt_infop->library->version != SMHBA) { in SMHBA_GetVendorLibraryAttributes()
3577 registeredfunc = adapt_infop->library-> in SMHBA_GetVendorLibraryAttributes()
3587 if (strlen(adapt_infop->library->LibraryPath) < 256) { in SMHBA_GetVendorLibraryAttributes()
3589 adapt_infop->library->LibraryPath); in SMHBA_GetVendorLibraryAttributes()