Lines Matching refs:adaptername
305 char adaptername[256];
347 status = (GetTgtAdapterNameFunc)(j, (char *)&adaptername);
357 if(strcmp(adaptername, adapt_infop->name) == 0) {
381 adapt_infop->name = strdup(adaptername);
404 char *adaptername)
409 if (adaptername == NULL) {
419 *adaptername = '\0';
427 strcpy(adaptername, adapt_infop->name);
429 *adaptername = '\0';
435 DEBUG(2, "GetAdapterName for index:%d ->%s", adapterindex, adaptername, 0);
440 Sun_HBA_OpenTgtAdapter(char* adaptername)
447 DEBUG(2, "OpenAdapter: %s", adaptername, 0, 0);
452 if (adaptername == NULL) {
460 if (strcmp(adaptername, adapt_infop->name) != 0) {
468 handle = (OpenTgtAdapterFunc)(adaptername);