Home
last modified time | relevance | path

Searched refs:path_phys (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/cmd/luxadm/
H A Dg_adm.c270 char *path_phys = NULL, *ptr; in adm_inquiry() local
276 if ((err = l_convert_name(argv[path_index], &path_phys, in adm_inquiry()
291 path_phys = NULL; in adm_inquiry()
292 if ((err = l_convert_name(inq_path, &path_phys, in adm_inquiry()
332 if (err = g_get_inquiry(path_phys, &inq)) { in adm_inquiry()
342 if (err = g_get_serial_number(path_phys, inq80.inq_serial, in adm_inquiry()
351 print_inq_data(argv[path_index], path_phys, inq, in adm_inquiry()
362 (void) strcpy(last_logical_path, path_phys); in adm_inquiry()
383 if (err = g_get_inquiry(path_phys, &inq)) { in adm_inquiry()
393 if (err = g_get_serial_number(path_phys, inq80.inq_serial, in adm_inquiry()
[all …]
H A Dx86_adm.c123 char *path_phys = NULL, *trailingMinor; in adm_failover() local
144 path_phys = in adm_failover()
147 if ((path_phys == NULL) || in adm_failover()
148 (strstr(path_phys, "/devices/scsi_vhci") == NULL)) { in adm_failover()
155 strcpy(iocsc.client, path_phys + strlen("/devices")); in adm_failover()
187 print_errString(err, path_phys); in adm_failover()
H A Dhotplug.c192 h_get_fcdev_state(char *fc_dev, char *path_phys, int force_flag, in h_get_fcdev_state() argument
200 if ((err = g_get_inquiry(path_phys, &inq)) != 0) { in h_get_fcdev_state()
204 path_phys); in h_get_fcdev_state()
208 if ((err = l_get_disk_port_status(path_phys, &l_disk_state, in h_get_fcdev_state()
213 if ((err = l_get_disk_port_status(path_phys, &l_disk_state, in h_get_fcdev_state()
488 char *path_phys = NULL, code, node_wwn_s[WWN_S_LEN]; in hotplug() local
538 if ((err = l_convert_name(argv[path_index], &path_phys, in hotplug()
555 if ((err = l_convert_name(inq_path, &path_phys, in hotplug()
579 path_phys = path_struct->p_physical_path; in hotplug()
598 strstr(path_phys, DRV_NAME_SSD)) { in hotplug()
[all …]
H A Dadm.c454 char *path_phys = NULL; in main() local
813 path_phys = argv[path_index]; in main()
814 if (err = scsi_reserve(path_phys)) { in main()
841 path_phys = argv[path_index]; in main()
842 if (err = scsi_release(path_phys)) { in main()
H A Dfchba.c2033 char *path_phys = NULL; in fchba_hotplug_e() local
2044 path_phys = get_slash_devices_from_osDevName(argv[0], in fchba_hotplug_e()
2046 if (!path_phys) { in fchba_hotplug_e()
2057 path_phys); in fchba_hotplug_e()
2060 if ((dcp = devctl_device_acquire(path_phys, in fchba_hotplug_e()
2065 path_phys, strerror(errno)); in fchba_hotplug_e()
2085 if (path_phys) { in fchba_hotplug_e()
2086 free(path_phys); in fchba_hotplug_e()
/titanic_41/usr/src/lib/storage/libg_fc/common/
H A Dhot.c218 g_force_lip(char *path_phys, int verbose) in g_force_lip() argument
229 if (path_phys == NULL) { in g_force_lip()
234 (void) strcpy(fp_path, path_phys); in g_force_lip()
236 if (strstr(path_phys, SCSI_VHCI) != NULL) { in g_force_lip()
303 if ((err = g_get_nexus_path(path_phys, in g_force_lip()
H A Dmpath.c184 g_get_lun_number(char *path_phys) in g_get_lun_number() argument
190 if ((strstr(path_phys, "/devices")) == NULL) { in g_get_lun_number()
194 if (((charptr3 = strstr(path_phys, SLSH_DRV_NAME_SSD)) == NULL) && in g_get_lun_number()
195 ((charptr3 = strstr(path_phys, SLSH_DRV_NAME_ST)) == NULL)) { in g_get_lun_number()
212 } else if (strstr(path_phys, SCSI_VHCI) != NULL) { in g_get_lun_number()
214 if (g_get_lun_str(path_phys, lunarr, 0) != 0) { in g_get_lun_number()
H A Dmap.c3322 g_rdls(char *path_phys, struct al_rls **rls_ptr, int verbose) in g_rdls() argument
3344 if (path_phys == NULL) { in g_rdls()
3354 if (strstr(path_phys, SCSI_VHCI) != NULL) { in g_rdls()
3355 (void) strcpy(fp_path, path_phys); in g_rdls()
3385 (void) strcpy(fp_path, path_phys); in g_rdls()
3393 if (strstr(path_phys, SCSI_VHCI) != NULL) { in g_rdls()
3422 if ((err = g_get_nexus_path(path_phys, in g_rdls()
3748 get_wwns(char *path_phys, uchar_t port_wwn[], uchar_t node_wwn[], int *al_pa, in get_wwns() argument
3767 path_phys); in get_wwns()
3781 if ((char_ptr = strrchr(path_phys, '@')) == NULL) { in get_wwns()
[all …]
/titanic_41/usr/src/lib/storage/liba5k/common/
H A Dmon.c798 l_dev_pwr_up_down(char *path_phys, struct path_struct *path_struct, in l_dev_pwr_up_down() argument
992 l_pho_pwr_up_down(char *dev_name, char *path_phys, int power_off_flag, in l_pho_pwr_up_down() argument
1002 if (path_phys == NULL) { in l_pho_pwr_up_down()
1010 if (err = l_get_status(path_phys, l_state, verbose)) { in l_pho_pwr_up_down()
1164 if ((err = pwr_up_down(path_phys, l_state, 0, -1, in l_pho_pwr_up_down()
1185 pwr_up_down(char *path_phys, L_state *l_state, int front, int slot, in pwr_up_down() argument
1196 if ((fd = g_object_open(path_phys, O_NDELAY | O_RDONLY)) == -1) { in pwr_up_down()
1313 l_new_password(char *path_phys, char *password) in l_new_password() argument
1322 if ((fd = g_object_open(path_phys, O_NDELAY | O_RDONLY)) == -1) { in l_new_password()
1372 l_new_name(char *path_phys, char *name) in l_new_name() argument
[all …]