/illumos-gate/usr/src/cmd/cdrw/ |
H A D | transport.c | 40 uchar_t uscsi_status, rqstatus, rqresid; variable 96 scmd->uscsi_status = 0; in uscsi() 121 if ((ret == 0) && (scmd->uscsi_status == 2)) { in uscsi() 127 if (global_rqsense && (ret < 0) && (scmd->uscsi_status == 2)) { in uscsi() 230 scmd->uscsi_status, in uscsi() 242 uscsi_status = scmd->uscsi_status; in uscsi()
|
H A D | blank.c | 185 (void) printf("%x %x %x %x\n", uscsi_status, in blank() 204 if (uscsi_status != 2) in blank() 223 uscsi_status, SENSE_KEY(rqbuf), in blank()
|
H A D | trackio.c | 430 te->status = uscsi_status; in write_track() 431 if (uscsi_status == 2) { in write_track() 525 te->status = uscsi_status; in write_track() 526 if (uscsi_status == 2) { in write_track()
|
H A D | transport.h | 43 extern uchar_t uscsi_status, rqstatus, rqresid;
|
H A D | misc_scsi.c | 662 if (uscsi_status != 2) in finalize() 679 uscsi_status, SENSE_KEY(rqbuf), in finalize() 685 if (uscsi_status == 2) { in finalize() 784 if ((uscsi_status == 2) && (ASC(rqbuf) == 0x53)) { in eject_media() 1137 uscsi_status, SENSE_KEY(rqbuf), in write_fini()
|
H A D | copycd.c | 336 (void) printf("%x %x %x %x\n", uscsi_status, in copy_cd()
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 353 if (ret_val || ucmd.uscsi_status) { in get_sector_size() 355 ret_val, ucmd.uscsi_status, errno); in get_sector_size() 482 if (ret_val == 0 && uscsi_cmd->uscsi_status == 0) { in do_uscsi_cmd() 531 if (ret_val || ucmd.uscsi_status) { in get_device_type_scsi() 533 "%d errno = %d\n", ret_val, ucmd.uscsi_status, errno); in get_device_type_scsi() 573 if (ret_val || ucmd.uscsi_status) { in get_media_capacity() 575 ucmd.uscsi_status); in get_media_capacity() 643 if (ret_val || ucmd.uscsi_status) { in scsi_zip_format() 645 ret_val, ucmd.uscsi_status, errno); in scsi_zip_format() 646 return (ucmd.uscsi_status); in scsi_zip_format() [all …]
|
H A D | smserver.h | 225 short uscsi_status; member
|
/illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | uscsi.h | 45 short uscsi_status; /* resulting status */ member 62 short uscsi_status; /* resulting status */ member 78 ucmd->uscsi_status = u32->uscsi_status; \ 94 u32->uscsi_status = ucmd->uscsi_status; \
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | cmd.c | 185 if (status == 0 && command->uscsi_status == 0) { in cmd() 196 if ((status != 0) && (command->uscsi_status == 0)) { in cmd() 267 switch ((uchar_t)command->uscsi_status & STATUS_MASK) { in cmd() 329 return (L_SCSI_ERROR | command->uscsi_status); in cmd()
|
/illumos-gate/usr/src/lib/scsi/plugins/scsi/engines/uscsi/ |
H A D | uscsi.c | 149 cmd.uscsi_status = (short)-1; in uscsi_exec() 187 if (cmd.uscsi_status == (short)-1) in uscsi_exec() 197 libscsi_action_set_status(ap, cmd.uscsi_status); in uscsi_exec()
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 65 scmd->uscsi_status = 0; in uscsi() 70 if ((ret == 0) && (scmd->uscsi_status == 2)) { in uscsi() 74 if ((ret < 0) && (scmd->uscsi_status == 2)) { in uscsi() 119 scmd->uscsi_status, in uscsi()
|
/illumos-gate/usr/src/lib/fm/libseslog/common/ |
H A D | libseslog.c | 172 ret = uscsi.uscsi_status; in read_log() 483 ret = uscsi.uscsi_status; in sg_ll_mode_sense10() 525 ret = uscsi.uscsi_status; in sg_ll_mode_select10()
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses.c | 860 lp->uscsi_status = 0; in ses_runcmd() 922 ssc->ses_uscsicmd.uscsi_status = 0; in ses_uscsi_cmd() 969 uscmd->uscsi_status = ssc->ses_uscsicmd.uscsi_status; in ses_uscsi_cmd() 1270 scmd->uscsi_status = 0; in ses_callback() 1293 scmd->uscsi_status = 0; in ses_callback() 1308 scmd->uscsi_status = 0; in ses_callback() 1403 scmd->uscsi_status = status; in ses_decode_sense() 1656 uc.uscsi_status = 0; in ses_get_vpd_page()
|
H A D | sgen.c | 1268 uscmd->uscsi_status = SCBP_C(sg_state->sgen_cmdpkt); in sgen_uscsi_cmd() 1270 uscmd->uscsi_status = 0; in sgen_uscsi_cmd() 1274 "for command. Status is 0x%x", uscmd->uscsi_status); in sgen_uscsi_cmd()
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_misc.c | 72 uchar_t uscsi_status, rqstatus, rqresid; variable 1695 scmd->uscsi_status = 0; in uscsi() 1714 if ((ret == 0) && (scmd->uscsi_status == 2)) { in uscsi() 1720 if (global_rqsense && (ret < 0) && (scmd->uscsi_status == 2)) { in uscsi() 1750 scmd->uscsi_status); in uscsi() 1762 uscsi_status = scmd->uscsi_status; in uscsi()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 738 ucmd->uscsi_status = retuscsi_cmd->uscsi_status; in _m_uscsi_cmd() 765 if (retuscsi_cmd->uscsi_retval || ucmd->uscsi_status) in _m_uscsi_cmd() 767 retuscsi_cmd->uscsi_retval, ucmd->uscsi_status); in _m_uscsi_cmd()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | lux_util.c | 456 if (status == 0 && command->uscsi_status == 0) { in issue_uscsi_cmd() 467 if ((status != 0) && (command->uscsi_status == 0)) { in issue_uscsi_cmd() 538 switch ((uchar_t)command->uscsi_status & STATUS_MASK) { in issue_uscsi_cmd() 600 return (L_SCSI_ERROR | command->uscsi_status); in issue_uscsi_cmd()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasScsiReportLUNs.c | 58 *scsiStatus = ucmd_buf.uscsi_status; in SendScsiReportLUNs()
|
H A D | Sun_sasScsiReadCapacity.c | 58 *scsiStatus = ucmd_buf.uscsi_status; in SendScsiReadCapacity()
|
H A D | Sun_sasScsiInquiry.c | 63 *scsiStatus = ucmd_buf.uscsi_status; in SendScsiInquiry()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | piclenvd.c | 1388 if ((ret_val == 0) && (ucmd_buf.uscsi_status == 0)) { in scsi_log_sense() 1398 ret_val, ucmd_buf.uscsi_status, errno); in scsi_log_sense() 2209 if (ret_val == 0 && ucmd_buf.uscsi_status == 0) { in scsi_mode_select() 2216 ret_val, ucmd_buf.uscsi_status, errno); in scsi_mode_select()
|
/illumos-gate/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 239 if (status || ucmd.uscsi_status) { in get_disk_properties()
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_util.c | 1270 if (cmd.uscsi_status == 0) in ndmp_execute_cdb() 1274 reply.status = cmd.uscsi_status; in ndmp_execute_cdb() 2471 retval = -(ucmd.uscsi_status); in scsi_test_unit_ready()
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_init.c | 95 return (uscsi_cmd.uscsi_status); in read_scsi_page()
|