Lines Matching refs:physical_path
233 char *physical_path, *physical_path_s; in get_pathlist() local
245 if ((physical_path = g_get_physical_name(dev_path)) == NULL) { in get_pathlist()
248 if (strncmp(physical_path, SCSI_VHCI, strlen(SCSI_VHCI)) != 0) { in get_pathlist()
249 free(physical_path); in get_pathlist()
253 if ((physical_path = calloc(1, MAXPATHLEN)) == NULL) { in get_pathlist()
256 (void) strcpy(physical_path, dev_path); in get_pathlist()
258 physical_path_s = physical_path; in get_pathlist()
261 physical_path += DEV_PREFIX_LEN-1; in get_pathlist()
263 delimiter = strrchr(physical_path, ':'); in get_pathlist()
279 (void) strcpy(ioc->client, physical_path); in get_pathlist()
511 char *physical_path; in g_get_pathcount() local
514 physical_path = g_get_physical_name(dev_path); in g_get_pathcount()
516 if (physical_path == NULL) { in g_get_pathcount()
520 (void) strcpy(client_path, physical_path + DEV_PREFIX_LEN-1); in g_get_pathcount()
521 free(physical_path); in g_get_pathcount()