Searched refs:physical_path (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmpath.c233 char *physical_path, *physical_path_s; local
246 if ((physical_path = g_get_physical_name(dev_path)) == NULL) {
249 if (strncmp(physical_path, SCSI_VHCI,
251 free(physical_path);
255 if ((physical_path = calloc(1, MAXPATHLEN)) == NULL) {
258 (void) strcpy(physical_path, dev_path);
260 physical_path_s = physical_path;
263 physical_path += DEV_PREFIX_LEN-1;
265 delimiter = strrchr(physical_path, ':');
281 (void) strcpy(ioc->client, physical_path);
513 char *physical_path; local
[all...]
H A Dmap.c303 wwn_list_s->physical_path,
330 if ((new_wwn->physical_path = (char *)
332 strlen(wwn_list_found->physical_path)
354 memcpy(new_wwn->physical_path,
355 wwn_list_found->physical_path,
356 strlen(wwn_list_found->physical_path));
530 if (strstr(wwn_list_p->physical_path, SCSI_VHCI) != NULL) {
532 if ((get_scsi_vhci_port_wwn(wwn_list_p->physical_path,
537 get_wwns(wwn_list_p->physical_path,
548 if ((err = g_get_wwn(wwn_list_p->physical_path,
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Ddiag.c113 s = wwn_list_ptr->physical_path;
118 wwn_list_ptr->physical_path,
146 s = wwn_list_ptr->physical_path;
151 wwn_list_ptr->physical_path,
H A Dlux_util.c1360 char *physical_path, *physical_path_s; local
1372 if ((physical_path = get_slash_devices_from_osDevName(
1376 if (strncmp(physical_path, SCSI_VHCI,
1378 free(physical_path);
1382 if ((physical_path = calloc(1, MAXPATHLEN)) == NULL) {
1385 (void) strcpy(physical_path, dev_path);
1387 physical_path_s = physical_path;
1390 physical_path += DEV_PREFIX_STRLEN-1;
1392 delimiter = strrchr(physical_path, ':');
1408 (void) strcpy(ioc->client, physical_path);
[all...]
H A Dg_adm.c417 wwn_list_ptr->physical_path);
428 wwn_list_ptr->physical_path);
3449 (void) free(l1->physical_path);
3459 (void) free(l1->physical_path);
3511 if (strstr(wwn_list->physical_path, SCSI_VHCI) != NULL) {
3512 (void) strcpy(temppath, wwn_list->physical_path);
3522 if ((((tempptr = strstr(wwn_list->physical_path,
3524 ((tempptr = strstr(wwn_list->physical_path,
3555 (void) fprintf(stdout, "\n %s\n", wwn_list->physical_path);
3563 if (strstr(inner->physical_path,
[all...]
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Dlhot.c174 wwnlp->physical_path);
248 wwnlp->physical_path);
661 (void) strcpy(*dev_path, wwnlp->physical_path);
761 if (*l_state->drv_front[i].g_disk_state.physical_path) {
768 (char *)&l_state->drv_front[i].g_disk_state.physical_path);
805 if (*l_state->drv_rear[i].g_disk_state.physical_path) {
812 (char *)&l_state->drv_rear[i].g_disk_state.physical_path);
H A Dmon.c1055 if (*l_state->drv_front[i].g_disk_state.physical_path) {
1058 (char *)&l_state->drv_front[i].g_disk_state.physical_path);
1107 if (*l_state->drv_rear[i].g_disk_state.physical_path) {
1110 (char *)&l_state->drv_rear[i].g_disk_state.physical_path);
2152 if (*l_state->drv_front[slot].g_disk_state.physical_path) {
2154 g_alloc_string(l_state->drv_front[slot].g_disk_state.physical_path);
2164 if (*l_state->drv_rear[slot].g_disk_state.physical_path) {
2166 g_alloc_string(l_state->drv_rear[slot].g_disk_state.physical_path);
2221 result = g_alloc_string(wwn_list_ptr->physical_path);
3373 (void) strcpy(temp_path, wwnlp->physical_path);
[all...]
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dgfc.h170 char physical_path[MAXNAMELEN]; /* First one found */ member in struct:g_disk_state_struct
301 char *physical_path; member in struct:wwn_list_struct

Completed in 91 milliseconds