Home
last modified time | relevance | path

Searched refs:uscsi_resid (Results 1 – 22 of 22) sorted by relevance

/titanic_50/usr/src/uts/common/sys/scsi/impl/
H A Duscsi.h50 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; \
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dses_sen.c148 if ((lp->uscsi_buflen - lp->uscsi_resid) < SENPGINSIZE) { in sen_rdstat()
150 lp->uscsi_buflen - lp->uscsi_resid); in sen_rdstat()
361 if ((lp->uscsi_buflen - lp->uscsi_resid) < SENPGINSIZE) { in sen_set_objstat()
363 lp->uscsi_buflen - lp->uscsi_resid); in sen_set_objstat()
H A Dses_safte.c133 if ((lp->uscsi_buflen - lp->uscsi_resid) < 6) { in _NOTE()
135 lp->uscsi_buflen - lp->uscsi_resid); in _NOTE()
368 hiwater = lp->uscsi_buflen - lp->uscsi_resid; in safte_rdstat()
705 hiwater = lp->uscsi_buflen - lp->uscsi_resid; in safte_rdstat()
H A Dses_ses.c257 amt = lp->uscsi_buflen - lp->uscsi_resid; in ses_getconfig()
494 amt = lp->uscsi_buflen - lp->uscsi_resid; in ses_getputstat()
H A Dst.c8428 if (com->uscsi_status || com->uscsi_resid) { in st_read_block_limits()
8464 if (com->uscsi_status || com->uscsi_resid) { in st_report_density_support()
12449 amt = (int)TAPE_SENSE_LENGTH - com->uscsi_resid; in st_report_exabyte_soft_errors()
12582 amt = (int)LOG_SENSE_LENGTH - com->uscsi_resid; in st_report_dat_soft_errors()
13531 if (rval || cmd->uscsi_status || cmd->uscsi_resid) { in st_check_sequential_clean_bit()
13611 if (rval || com->uscsi_status || com->uscsi_resid) { in st_check_alert_flags()
13752 if (rval || com->uscsi_status || com->uscsi_resid) { in st_check_sense_clean_bit()
15225 (cmd->uscsi_resid != 0)) { in st_logical_block_locate()
15227 pos->lgclblkno = lblk - cmd->uscsi_resid; in st_logical_block_locate()
15228 un->un_err_resid = cmd->uscsi_resid; in st_logical_block_locate()
[all …]
H A Dsd.c12107 uscmd->uscsi_status, uscmd->uscsi_resid);
14302 uscmd->uscsi_resid = bp->b_resid;
20098 if (ucmd_buf.uscsi_resid != 0) {
20327 if (ucmd_buf.uscsi_resid > 20) {
20760 *residp = ucmd_buf.uscsi_resid;
21686 if (buflen - ucmd_buf.uscsi_resid < headlen) {
22153 if (ucmd_buf.uscsi_resid != 0) {
/titanic_50/usr/src/lib/libbc/libc/sys/common/
H A Ds5dkio.h118 u_int uscsi_resid; /* resid from i/o operation */ member
/titanic_50/usr/src/lib/libsmedia/plugins/scsi/common/
H A Ds_generic.c748 ucmd->uscsi_resid = retuscsi_cmd->uscsi_resid; in _m_uscsi_cmd()
761 if (ucmd->uscsi_resid > ucmd->uscsi_buflen) { in _m_uscsi_cmd()
771 ucmd->uscsi_buflen - ucmd->uscsi_resid); in _m_uscsi_cmd()
/titanic_50/usr/src/lib/scsi/plugins/scsi/engines/uscsi/
H A Duscsi.c199 cmd.uscsi_buflen - cmd.uscsi_resid) != 0) in uscsi_exec()
/titanic_50/usr/src/cmd/smserverd/
H A Dsmserver.h226 int32_t uscsi_resid; member
H A Dsmediad.c1623 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()
/titanic_50/usr/src/lib/storage/libg_fc/common/
H A Dio.c444 uscsi_count = buf_len - ucmd.uscsi_resid; in g_scsi_mode_sense_cmd()
/titanic_50/usr/src/lib/libsun_ima/common/
H A Dima.c1823 *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()
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_sess.c2153 inq_len = ISCSI_MAX_INQUIRY_BUF_SIZE - ucmd.uscsi_resid; in iscsi_sess_inquiry()
2231 ucmd.uscsi_resid; in iscsi_sess_inquiry()
H A Discsi.c3989 iu32_caller.iu_ucmd.uscsi_resid = in iscsi_ioctl()
3990 iu.iu_ucmd.uscsi_resid; in iscsi_ioctl()
4003 iu_caller.iu_ucmd.uscsi_resid = iu.iu_ucmd.uscsi_resid; in iscsi_ioctl()
H A Discsi_io.c3057 ucmdp->uscsi_resid = pkt->pkt_resid; in iscsi_handle_passthru()
/titanic_50/usr/src/cmd/luxadm/
H A Dlux_util.c649 uscsi_count = buf_len - ucmd.uscsi_resid; in scsi_mode_sense_cmd()
/titanic_50/usr/src/cmd/format/
H A Dctlr_scsi.c269 if (ucmd.uscsi_resid == ucmd.uscsi_buflen) {
277 if (ucmd.uscsi_resid != 0) {
/titanic_50/usr/src/uts/sun4v/io/
H A Dvds.c1457 if (ucmd.uscsi_resid == ucmd.uscsi_buflen) { in vd_do_scsi_rdwr()
1466 if (ucmd.uscsi_resid != 0) { in vd_do_scsi_rdwr()
2830 vd_scsi->datain_len -= uscsi->uscsi_resid; in vd_scsicmd_out()
2835 vd_scsi->dataout_len -= uscsi->uscsi_resid; in vd_scsicmd_out()
H A Dvdc.c6068 uscsi.uscsi_resid = uscsi.uscsi_buflen - in vdc_uscsi_cmd()
6076 uscsi.uscsi_resid = uscsi.uscsi_buflen - in vdc_uscsi_cmd()
/titanic_50/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c2448 uscmd->uscsi_resid = bp->b_resid; in scsi_uscsi_handle_cmd()
/titanic_50/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c8398 uscmdp->uscsi_resid = bp->b_resid; in vhci_uscsi_iodone()
8550 uscmdp->uscsi_resid = bp->b_bcount; in vhci_uscsi_iostart()
8603 uscmdp->uscsi_resid = bp->b_bcount; in vhci_uscsi_iostart()