Home
last modified time | relevance | path

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

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