Home
last modified time | relevance | path

Searched refs:ses_path (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/storage/liba5k/common/
H A Dlhot.c121 l_make_node(char *ses_path, int tid, char *dev_path, in l_make_node() argument
132 if ((ses_path == NULL) || (dev_path == NULL) || (map == NULL)) { in l_make_node()
159 if (strstr(ses_path, SCSI_VHCI) != NULL) { in l_make_node()
180 len = strlen(ses_path) - in l_make_node()
181 strlen(strrchr(ses_path, '/')); in l_make_node()
192 (void) strncpy(dev_path, ses_path, len); in l_make_node()
200 if (err = l_get_pid_from_path(ses_path, map, &ses_pid)) { in l_make_node()
235 if (strstr(ses_path, SCSI_VHCI) != NULL) { in l_make_node()
253 len = strlen(ses_path) - in l_make_node()
254 strlen(strrchr(ses_path, '/')); in l_make_node()
[all …]
H A Ddiag.c125 l_check_busy_reserv_bp(char *ses_path, int front_flag, in l_check_busy_reserv_bp() argument
136 if (err = l_get_status(ses_path, l_state, verbose)) { in l_check_busy_reserv_bp()
208 l_bp_bypass_enable(char *ses_path, int bypass_flag, int port_a_flag, in l_bp_bypass_enable() argument
222 if (ses_path == NULL) { in l_bp_bypass_enable()
232 if (err = l_check_busy_reserv_bp(ses_path, in l_bp_bypass_enable()
242 if ((fd = g_object_open(ses_path, O_NDELAY | O_RDWR)) == -1) { in l_bp_bypass_enable()
402 char ses_path[MAXPATHLEN]; in l_dev_bypass_enable() local
481 ses_path, &map, verbose)) { in l_dev_bypass_enable()
487 (void) strcpy(ses_path, path_struct->p_physical_path); in l_dev_bypass_enable()
497 ses_path, &map, verbose)) != 0) { in l_dev_bypass_enable()
[all …]
H A Dmon.c525 char ses_path[MAXPATHLEN]; in l_led() local
550 ses_path, &map, verbose)) != 0) { in l_led()
555 (void) strcpy(ses_path, path_struct->p_physical_path); in l_led()
571 ses_path, &map, verbose)) != 0) { in l_led()
576 if ((err = l_get_status(ses_path, l_state, verbose)) != 0) { in l_led()
598 if ((fd = g_object_open(ses_path, O_NDELAY | O_RDWR)) == -1) { in l_led()
615 if (err = l_get_status(ses_path, l_state, verbose)) { in l_led()
803 char ses_path[MAXPATHLEN], dev_path[MAXPATHLEN]; in l_dev_pwr_up_down() local
824 ses_path, &map, verbose)) { in l_dev_pwr_up_down()
834 if (err = g_get_inquiry(ses_path, &inq)) { in l_dev_pwr_up_down()
[all …]
/titanic_41/usr/src/cmd/luxadm/
H A Dhotplug.c487 char ses_path[MAXPATHLEN], dev_path[MAXPATHLEN]; in hotplug() local
683 if (l_chk_null_wwn(path_struct, ses_path, in hotplug()
696 (void) strcpy(ses_path, path_phys); in hotplug()
698 if (strstr(ses_path, "ses") == NULL && in hotplug()
699 l_get_ses_path(path_phys, ses_path, &map, in hotplug()
731 if (strstr(ses_path, "ses") != NULL) { in hotplug()
733 if ((err = l_convert_name(ses_path, &physpath, in hotplug()
748 if ((err = l_get_status(ses_path, in hotplug()
758 if ((err = g_get_wwn(ses_path, port_wwn, in hotplug()
825 l_make_node(ses_path, tid, dev_path, &map, 0); in hotplug()
[all …]
H A Ddiag.c76 print_ssd_in_box(char *ses_path, uchar_t *box_name, int verbose) in print_ssd_in_box() argument
87 if (err = l_get_status(ses_path, &l_state, verbose)) { in print_ssd_in_box()
97 if (g_get_inquiry(ses_path, &inq)) { in print_ssd_in_box()
H A Dg_adm.c553 char ses_path[MAXPATHLEN], inq_path[MAXNAMELEN]; in adm_display_config() local
707 (l_get_ses_path(path_phys, ses_path, in adm_display_config()
709 (g_get_inquiry(ses_path, &ses_inq) == 0) && in adm_display_config()
716 display_fc_disk(path_struct, ses_path, &map, inq, in adm_display_config()
2057 char ses_path[MAXPATHLEN]; in adm_led() local
2114 if (l_get_ses_path(path_phys, ses_path, &map, in adm_led()
2116 if (g_get_inquiry(ses_path, &ses_inq) == 0) { in adm_led()
3853 display_fc_disk(struct path_struct *path_struct, char *ses_path, in display_fc_disk() argument
3893 if (err = l_get_ses_path(path_phys, ses_path, map, in display_fc_disk()
3911 if (err = g_get_inquiry(ses_path, &local_inq)) { in display_fc_disk()
[all …]