/illumos-gate/usr/src/cmd/luxadm/ |
H A D | diag.c | 76 print_ssd_in_box(char *ses_path, uchar_t *box_name, int verbose) argument 87 if (err = l_get_status(ses_path, &l_state, verbose)) { 97 if (g_get_inquiry(ses_path, &inq)) {
|
H A D | hotplug.c | 487 char ses_path[MAXPATHLEN], dev_path[MAXPATHLEN]; local 683 if (l_chk_null_wwn(path_struct, ses_path, 696 (void) strcpy(ses_path, path_phys); 698 if (strstr(ses_path, "ses") == NULL && 699 l_get_ses_path(path_phys, ses_path, &map, 731 if (strstr(ses_path, "ses") != NULL) { 733 if ((err = l_convert_name(ses_path, &physpath, 748 if ((err = l_get_status(ses_path, 758 if ((err = g_get_wwn(ses_path, port_wwn, 825 l_make_node(ses_path, ti 1529 char *ses_path, *dev_path, code; local 1728 char *ses_path, *dev_path = NULL, device_name[MAXNAMELEN]; local [all...] |
H A D | g_adm.c | 553 char ses_path[MAXPATHLEN], inq_path[MAXNAMELEN]; local 699 * I first get the ses_path, if this doesn't fail 707 (l_get_ses_path(path_phys, ses_path, 709 (g_get_inquiry(ses_path, &ses_inq) == 0) && 716 display_fc_disk(path_struct, ses_path, &map, inq, 2057 char ses_path[MAXPATHLEN]; local 2114 if (l_get_ses_path(path_phys, ses_path, &map, 2116 if (g_get_inquiry(ses_path, &ses_inq) == 0) { 3853 display_fc_disk(struct path_struct *path_struct, char *ses_path, argument 3893 if (err = l_get_ses_path(path_phys, ses_path, ma [all...] |
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | diag.c | 125 l_check_busy_reserv_bp(char *ses_path, int front_flag, argument 136 if (err = l_get_status(ses_path, l_state, verbose)) { 208 l_bp_bypass_enable(char *ses_path, int bypass_flag, int port_a_flag, argument 222 if (ses_path == NULL) { 232 if (err = l_check_busy_reserv_bp(ses_path, 242 if ((fd = g_object_open(ses_path, O_NDELAY | O_RDWR)) == -1) { 402 char ses_path[MAXPATHLEN]; local 481 ses_path, &map, verbose)) { 487 (void) strcpy(ses_path, path_struct->p_physical_path); 497 ses_path, [all...] |
H A D | lhot.c | 104 * the given ses_path. 107 * ses_path - pointer to the ses_path 121 l_make_node(char *ses_path, int tid, char *dev_path, argument 132 if ((ses_path == NULL) || (dev_path == NULL) || (map == NULL)) { 159 if (strstr(ses_path, SCSI_VHCI) != NULL) { 180 len = strlen(ses_path) - 181 strlen(strrchr(ses_path, '/')); 192 (void) strncpy(dev_path, ses_path, len); 200 if (err = l_get_pid_from_path(ses_path, ma 296 l_chk_null_wwn(Path_struct *path_struct, char *ses_path, L_state *l_state, int verbose) argument 399 l_encl_status_page_funcs(int func, char *code, int todo, char *ses_path, struct l_state_struct *l_state, int f_flag, int slot, int verbose_flag) argument 528 l_device_present(char *ses_path, int tid, gfc_map_t *map, int verbose_flag, char **dev_path) argument 734 char *dev_path, ses_path[MAXPATHLEN]; local [all...] |
H A D | mon.c | 525 char ses_path[MAXPATHLEN]; local 550 ses_path, &map, verbose)) != 0) { 555 (void) strcpy(ses_path, path_struct->p_physical_path); 571 ses_path, &map, verbose)) != 0) { 576 if ((err = l_get_status(ses_path, l_state, verbose)) != 0) { 598 if ((fd = g_object_open(ses_path, O_NDELAY | O_RDWR)) == -1) { 615 if (err = l_get_status(ses_path, l_state, verbose)) { 803 char ses_path[MAXPATHLEN], dev_path[MAXPATHLEN]; local 824 ses_path, &map, verbose)) { 834 if (err = g_get_inquiry(ses_path, 1803 char ses_path[MAXPATHLEN]; local 1931 char tmp_name[MAXPATHLEN], ses_path[MAXPATHLEN]; local 2480 char path_a[MAXPATHLEN], path_b[MAXPATHLEN], ses_path[MAXPATHLEN]; local 3117 l_get_port(char *ses_path, int *port_a, int verbose) argument 4644 l_get_ses_path(char *path_phys, char *ses_path, gfc_map_t *map, int verbose) argument [all...] |