/illumos-gate/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 270 char *path_phys = NULL, *ptr; local 276 if ((err = l_convert_name(argv[path_index], &path_phys, 291 path_phys = NULL; 292 if ((err = l_convert_name(inq_path, &path_phys, 332 if (err = g_get_inquiry(path_phys, &inq)) { 342 if (err = g_get_serial_number(path_phys, inq80.inq_serial, 351 print_inq_data(argv[path_index], path_phys, inq, 362 (void) strcpy(last_logical_path, path_phys); 383 if (err = g_get_inquiry(path_phys, &inq)) { 393 if (err = g_get_serial_number(path_phys, inq8 469 char *path_phys = NULL, *ptr; local 552 char *path_phys = NULL, *ptr; local 797 char *path_phys = NULL; local 899 char *path_phys = NULL; local 996 char *path_phys = NULL; local 1053 char *path_phys = NULL; local 1393 pho_display_config(char *path_phys) argument 1525 dpm_display_config(char *path_phys) argument 1694 char *path_phys = NULL; local 1819 char *path_phys = NULL; local 1861 char wwn1[(WWN_SIZE*2)+1], name[1024], *path_phys = NULL; local 2054 char *path_phys = NULL; local 2234 char *path_phys = NULL; local 2397 display_sf_stats(char *path_phys, int dtype, struct sf_stats *sf_stats) argument 2500 adm_display_err(char *path_phys, int dtype) argument 2920 char *path_phys = NULL; local 3857 static char path_phys[MAXPATHLEN]; local 5386 char *path_phys = NULL; local 5429 char *path_phys = NULL; local 5498 char *path_phys = NULL; local 5663 char *path_phys = NULL; local 6588 char *path_phys = NULL; local 6611 char *path_phys = NULL; local [all...] |
H A D | x86_adm.c | 123 char *path_phys = NULL, *trailingMinor; local 144 path_phys = 147 if ((path_phys == NULL) || 148 (strstr(path_phys, "/devices/scsi_vhci") == NULL)) { 155 strcpy(iocsc.client, path_phys + strlen("/devices")); 187 print_errString(err, path_phys);
|
H A D | hotplug.c | 192 h_get_fcdev_state(char *fc_dev, char *path_phys, int force_flag, argument 200 if ((err = g_get_inquiry(path_phys, &inq)) != 0) { 204 path_phys); 208 if ((err = l_get_disk_port_status(path_phys, &l_disk_state, 213 if ((err = l_get_disk_port_status(path_phys, &l_disk_state, 488 char *path_phys = NULL, code, node_wwn_s[WWN_S_LEN]; local 538 if ((err = l_convert_name(argv[path_index], &path_phys, 555 if ((err = l_convert_name(inq_path, &path_phys, 579 path_phys = path_struct->p_physical_path; 598 strstr(path_phys, DRV_NAME_SS 1262 char *path_phys = NULL; local [all...] |
H A D | adm.c | 454 char *path_phys = NULL; local 813 path_phys = argv[path_index]; 814 if (err = scsi_reserve(path_phys)) { 841 path_phys = argv[path_index]; 842 if (err = scsi_release(path_phys)) {
|
H A D | fchba.c | 2033 char *path_phys = NULL; local 2044 path_phys = get_slash_devices_from_osDevName(argv[0], 2046 if (!path_phys) { 2057 path_phys); 2060 if ((dcp = devctl_device_acquire(path_phys, 2065 path_phys, strerror(errno)); 2085 if (path_phys) { 2086 free(path_phys);
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | hot.c | 218 g_force_lip(char *path_phys, int verbose) argument 228 /* return invalid path if path_phys NULL */ 229 if (path_phys == NULL) { 234 (void) strcpy(fp_path, path_phys); 236 if (strstr(path_phys, SCSI_VHCI) != NULL) { 303 if ((err = g_get_nexus_path(path_phys,
|
H A D | mpath.c | 184 g_get_lun_number(char *path_phys) argument 190 if ((strstr(path_phys, "/devices")) == NULL) { 194 if (((charptr3 = strstr(path_phys, SLSH_DRV_NAME_SSD)) == NULL) && 195 ((charptr3 = strstr(path_phys, SLSH_DRV_NAME_ST)) == NULL)) { 212 } else if (strstr(path_phys, SCSI_VHCI) != NULL) { 214 if (g_get_lun_str(path_phys, lunarr, 0) != 0) {
|
H A D | map.c | 3314 * path_phys - physical path to an FC device 3322 g_rdls(char *path_phys, struct al_rls **rls_ptr, int verbose) argument 3343 /* return invalid path if path_phys is NULL */ 3344 if (path_phys == NULL) { 3354 if (strstr(path_phys, SCSI_VHCI) != NULL) { 3355 (void) strcpy(fp_path, path_phys); 3385 (void) strcpy(fp_path, path_phys); 3393 if (strstr(path_phys, SCSI_VHCI) != NULL) { 3422 if ((err = g_get_nexus_path(path_phys, 3745 * - path_phys mus 3748 get_wwns(char *path_phys, uchar_t port_wwn[], uchar_t node_wwn[], int *al_pa, struct wwn_list_found_struct **wwn_list_found) argument 3919 g_get_wwn(char *path_phys, uchar_t port_wwn[], uchar_t node_wwn[], int *al_pa, int verbose) argument 4559 g_get_nexus_path(char *path_phys, char **nexus_path) argument [all...] |
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 798 l_dev_pwr_up_down(char *path_phys, struct path_struct *path_struct, argument 992 l_pho_pwr_up_down(char *dev_name, char *path_phys, int power_off_flag, argument 1002 if (path_phys == NULL) { 1010 if (err = l_get_status(path_phys, l_state, verbose)) { 1164 if ((err = pwr_up_down(path_phys, l_state, 0, -1, 1185 pwr_up_down(char *path_phys, L_state *l_state, int front, int slot, argument 1196 if ((fd = g_object_open(path_phys, O_NDELAY | O_RDONLY)) == -1) { 1313 l_new_password(char *path_phys, char *password) argument 1322 if ((fd = g_object_open(path_phys, O_NDELAY | O_RDONLY)) == -1) { 1372 l_new_name(char *path_phys, cha argument 2374 l_get_envsen(char *path_phys, uchar_t *buf, int size, int verbose) argument 4346 l_download(char *path_phys, char *file, int ps, int verbose) argument 4568 l_set_wwn(char *path_phys, char *wwn) argument 4644 l_get_ses_path(char *path_phys, char *ses_path, gfc_map_t *map, int verbose) argument [all...] |