Lines Matching refs:this_residual
243 SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; in nsp_queuecommand_lck()
247 SCpnt->SCp.this_residual = 0; in nsp_queuecommand_lck()
731 SCpnt->SCp.this_residual, SCpnt->SCp.buffer, in nsp_pio_read()
737 (SCpnt->SCp.this_residual > 0 || SCpnt->SCp.buffers_residual > 0 ) ) { in nsp_pio_read()
761 res = min(res, SCpnt->SCp.this_residual); in nsp_pio_read()
784 SCpnt->SCp.this_residual -= res; in nsp_pio_read()
789 if (SCpnt->SCp.this_residual == 0 && in nsp_pio_read()
795 SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; in nsp_pio_read()
806 scsi_get_resid(SCpnt), SCpnt->SCp.this_residual, in nsp_pio_read()
829 data->FifoCount, SCpnt->SCp.ptr, SCpnt->SCp.this_residual, in nsp_pio_write()
836 (SCpnt->SCp.this_residual > 0 || SCpnt->SCp.buffers_residual > 0)) { in nsp_pio_write()
847 SCpnt->SCp.this_residual += res; in nsp_pio_write()
859 res = min(SCpnt->SCp.this_residual, WFIFO_CRIT); in nsp_pio_write()
883 SCpnt->SCp.this_residual -= res; in nsp_pio_write()
887 if (SCpnt->SCp.this_residual == 0 && in nsp_pio_write()
893 SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; in nsp_pio_write()