/illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | uscsi.h | 50 size_t uscsi_resid; /* resid from i/o operation */ member 67 size32_t uscsi_resid; /* resid from i/o operation */ member 83 ucmd->uscsi_resid = (size_t)u32->uscsi_resid; \ 99 u32->uscsi_resid = (size32_t)ucmd->uscsi_resid; \
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses_sen.c | 147 if ((lp->uscsi_buflen - lp->uscsi_resid) < SENPGINSIZE) { in sen_rdstat() 149 lp->uscsi_buflen - lp->uscsi_resid); in sen_rdstat() 360 if ((lp->uscsi_buflen - lp->uscsi_resid) < SENPGINSIZE) { in sen_set_objstat() 362 lp->uscsi_buflen - lp->uscsi_resid); in sen_set_objstat()
|
H A D | ses_safte.c | 131 if ((lp->uscsi_buflen - lp->uscsi_resid) < 6) { in _NOTE() 133 lp->uscsi_buflen - lp->uscsi_resid); in _NOTE() 367 hiwater = lp->uscsi_buflen - lp->uscsi_resid; in safte_rdstat() 704 hiwater = lp->uscsi_buflen - lp->uscsi_resid; in safte_rdstat()
|
H A D | ses_ses.c | 256 amt = lp->uscsi_buflen - lp->uscsi_resid; in ses_getconfig() 493 amt = lp->uscsi_buflen - lp->uscsi_resid; in ses_getputstat()
|
H A D | st.c | 8429 if (com->uscsi_status || com->uscsi_resid) { in st_read_block_limits() 8465 if (com->uscsi_status || com->uscsi_resid) { in st_report_density_support() 12451 amt = (int)TAPE_SENSE_LENGTH - com->uscsi_resid; in st_report_exabyte_soft_errors() 12584 amt = (int)LOG_SENSE_LENGTH - com->uscsi_resid; in st_report_dat_soft_errors() 13533 if (rval || cmd->uscsi_status || cmd->uscsi_resid) { in st_check_sequential_clean_bit() 13613 if (rval || com->uscsi_status || com->uscsi_resid) { in st_check_alert_flags() 13754 if (rval || com->uscsi_status || com->uscsi_resid) { in st_check_sense_clean_bit() 15227 (cmd->uscsi_resid != 0)) { in st_logical_block_locate() 15229 pos->lgclblkno = lblk - cmd->uscsi_resid; in st_logical_block_locate() 15230 un->un_err_resid = cmd->uscsi_resid; in st_logical_block_locate() [all …]
|
H A D | ses.c | 1659 return (size - uc.uscsi_resid); in ses_get_vpd_page()
|
H A D | sd.c | 11325 uscmd->uscsi_status, uscmd->uscsi_resid); in sd_ssc_send() 13512 uscmd->uscsi_resid = bp->b_resid; in sd_destroypkt_for_uscsi() 19234 if (ucmd_buf.uscsi_resid != 0) { 19463 if (ucmd_buf.uscsi_resid > 20) { 19906 *residp = ucmd_buf.uscsi_resid; 21063 if (buflen - ucmd_buf.uscsi_resid < headlen) { 21530 if (ucmd_buf.uscsi_resid != 0) {
|
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 739 ucmd->uscsi_resid = retuscsi_cmd->uscsi_resid; in _m_uscsi_cmd() 752 if (ucmd->uscsi_resid > ucmd->uscsi_buflen) { in _m_uscsi_cmd() 761 handle->sm_buf, ucmd->uscsi_buflen - ucmd->uscsi_resid); in _m_uscsi_cmd()
|
/illumos-gate/usr/src/lib/scsi/plugins/scsi/engines/uscsi/ |
H A D | uscsi.c | 199 cmd.uscsi_buflen - cmd.uscsi_resid) != 0) in uscsi_exec()
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smserver.h | 226 int32_t uscsi_resid; member
|
H A D | smediad.c | 1623 ucmd.uscsi_buflen, ucmd.uscsi_resid, sector_size); in raw_read() 1630 ret_val = ucmd.uscsi_buflen - ucmd.uscsi_resid; in raw_read() 1684 ucmd.uscsi_buflen, ucmd.uscsi_resid, sector_size); in raw_write() 1691 ret_val = ucmd.uscsi_buflen - ucmd.uscsi_resid; in raw_write() 2101 rmsvc.retuscsi_cmd.uscsi_resid = ucmd.uscsi_resid; in client_servproc()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | io.c | 444 uscsi_count = buf_len - ucmd.uscsi_resid; in g_scsi_mode_sense_cmd()
|
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 1823 *pOutputBufferLength = buflen - uscsi.iu_ucmd.uscsi_resid; in IMA_LuInquiry() 1925 *pOutputBufferLength = buflen - uscsi.iu_ucmd.uscsi_resid; in IMA_LuReadCapacity() 2017 *pOutputBufferLength = buflen - uscsi.iu_ucmd.uscsi_resid; in IMA_LuReportLuns()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_sess.c | 2153 inq_len = ISCSI_MAX_INQUIRY_BUF_SIZE - ucmd.uscsi_resid; in iscsi_sess_inquiry() 2231 ucmd.uscsi_resid; in iscsi_sess_inquiry()
|
H A D | iscsi.c | 3988 iu32_caller.iu_ucmd.uscsi_resid = in iscsi_ioctl() 3989 iu.iu_ucmd.uscsi_resid; in iscsi_ioctl() 4002 iu_caller.iu_ucmd.uscsi_resid = iu.iu_ucmd.uscsi_resid; in iscsi_ioctl()
|
H A D | iscsi_io.c | 3057 ucmdp->uscsi_resid = pkt->pkt_resid; in iscsi_handle_passthru()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | ctlr_scsi.c | 229 if (ucmd.uscsi_resid == ucmd.uscsi_buflen) { in scsi_rdwr() 237 if (ucmd.uscsi_resid != 0) { in scsi_rdwr()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | lux_util.c | 646 uscsi_count = buf_len - ucmd.uscsi_resid; in scsi_mode_sense_cmd()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vds.c | 1458 if (ucmd.uscsi_resid == ucmd.uscsi_buflen) { in vd_do_scsi_rdwr() 1467 if (ucmd.uscsi_resid != 0) { in vd_do_scsi_rdwr() 2831 vd_scsi->datain_len -= uscsi->uscsi_resid; in vd_scsicmd_out() 2836 vd_scsi->dataout_len -= uscsi->uscsi_resid; in vd_scsicmd_out()
|
H A D | vdc.c | 6068 uscsi.uscsi_resid = uscsi.uscsi_buflen - in vdc_uscsi_cmd() 6076 uscsi.uscsi_resid = uscsi.uscsi_buflen - in vdc_uscsi_cmd()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_subr.c | 2447 uscmd->uscsi_resid = bp->b_resid; in scsi_uscsi_handle_cmd()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 8404 uscmdp->uscsi_resid = bp->b_resid; in vhci_uscsi_iodone() 8556 uscmdp->uscsi_resid = bp->b_bcount; in vhci_uscsi_iostart() 8609 uscmdp->uscsi_resid = bp->b_bcount; in vhci_uscsi_iostart()
|