Home
last modified time | relevance | path

Searched refs:scsi_get_resid (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/pcmcia/
Dnsp_cs.c134 scsi_set_resid(SCpnt, scsi_get_resid(SCpnt) + residInc); in nsp_inc_resid()
728 SCpnt, scsi_get_resid(SCpnt), ocount, SCpnt->SCp.ptr, in nsp_pio_read()
804 scsi_get_resid(SCpnt), SCpnt->SCp.this_residual, in nsp_pio_read()
809 scsi_get_resid(SCpnt)); in nsp_pio_read()
829 scsi_get_resid(SCpnt)); in nsp_pio_write()
900 scsi_get_resid(SCpnt)); in nsp_pio_write()
904 scsi_get_resid(SCpnt)); in nsp_pio_write()
926 if (scsi_get_resid(SCpnt) % 4 != 0 || in nsp_nexus()
927 scsi_get_resid(SCpnt) <= PAGE_SIZE ) { in nsp_nexus()
/kernel/linux/linux-5.10/drivers/scsi/
Dfdomain.c221 offset = scsi_bufflen(cmd) - scsi_get_resid(cmd); in fdomain_read_data()
229 scsi_set_resid(cmd, scsi_get_resid(cmd) - len); in fdomain_read_data()
243 offset = scsi_bufflen(cmd) - scsi_get_resid(cmd); in fdomain_write_data()
256 scsi_set_resid(cmd, scsi_get_resid(cmd) - len); in fdomain_write_data()
Dnsp32.c1256 (scsi_get_resid(SCpnt) > 0) && in do_nsp32_isr()
1672 SCpnt->SCp.Status, scsi_get_resid(SCpnt)); in nsp32_busfree_occur()
1716 nsp32_dbg(NSP32_DEBUG_SGLIST, "old resid=0x%x", scsi_get_resid(SCpnt)); in nsp32_adjust_busfree()
1760 if (scsi_get_resid(SCpnt) < sentlen) { in nsp32_adjust_busfree()
1764 scsi_set_resid(SCpnt, scsi_get_resid(SCpnt) - sentlen); in nsp32_adjust_busfree()
1765 nsp32_dbg(NSP32_DEBUG_SGLIST, "new resid=0x%x", scsi_get_resid(SCpnt)); in nsp32_adjust_busfree()
Daha152x.c284 scsi_set_resid(cmd, scsi_get_resid(cmd) + inc); in CMD_INC_RESID()
2086 DATA_LEN = scsi_get_resid(CURRENT_SC); in datao_init()
2146 int datao_out = DATA_LEN - scsi_get_resid(CURRENT_SC); in datao_end()
2152 done = scsi_bufflen(CURRENT_SC) - scsi_get_resid(CURRENT_SC); in datao_end()
2440 scsi_bufflen(ptr), scsi_get_resid(ptr), in show_command()
2491 scsi_get_resid(ptr), ptr->SCp.this_residual, in get_command()
Dscsi.c212 good_bytes -= scsi_get_resid(cmd); in scsi_finish_command()
Dsd.c2018 transferred = scsi_bufflen(scmd) - scsi_get_resid(scmd); in sd_completed_bytes()
2070 resid = scsi_get_resid(SCpnt); in sd_done()
Dscsi_debug.c1189 scsi_get_resid(scp)); in p_fill_from_dev_buffer()
1191 scsi_set_resid(scp, min_t(u32, scsi_get_resid(scp), n)); in p_fill_from_dev_buffer()
/kernel/linux/linux-5.10/drivers/usb/storage/
Dtransport.c558 if (srb->result == SAM_STAT_GOOD && scsi_get_resid(srb) == 0) { in last_sector_hacks()
690 if ((scsi_get_resid(srb) > 0) && in usb_stor_invoke_transport()
887 scsi_bufflen(srb) - scsi_get_resid(srb) < srb->underflow) in usb_stor_invoke_transport()
1191 transfer_length - scsi_get_resid(srb) == in usb_stor_Bulk_transport()
1285 scsi_get_resid(srb) == 0 && in usb_stor_Bulk_transport()
1294 scsi_set_resid(srb, max(scsi_get_resid(srb), residue)); in usb_stor_Bulk_transport()
Disd200.c659 if ((scsi_get_resid(srb) > 0) && in isd200_invoke_transport()
Dene_ub6250.c563 scsi_set_resid(us->srb, max(scsi_get_resid(us->srb), in ene_send_scsi_cmd()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_cmnd.h199 static inline unsigned int scsi_get_resid(struct scsi_cmnd *cmd) in scsi_get_resid() function
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
Daic7xxx_osm.h628 return scsi_get_resid(scb->io_ctx); in ahc_get_residual()
Daic79xx_osm.h610 return scsi_get_resid(scb->io_ctx); in ahd_get_residual()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_scsi.c3700 scsi_get_resid(cmnd), fcpi_parm, cmnd->cmnd[0], in lpfc_handle_fcp_err()
3708 if (fcpi_parm && (scsi_get_resid(cmnd) != fcpi_parm)) { in lpfc_handle_fcp_err()
3714 scsi_get_resid(cmnd), fcpi_parm, in lpfc_handle_fcp_err()
3727 (scsi_bufflen(cmnd) - scsi_get_resid(cmnd) in lpfc_handle_fcp_err()
3734 scsi_get_resid(cmnd), cmnd->underflow); in lpfc_handle_fcp_err()
3741 scsi_bufflen(cmnd), scsi_get_resid(cmnd)); in lpfc_handle_fcp_err()
4004 scsi_get_resid(cmd)); in lpfc_scsi_cmd_iocb_cmpl()
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_scsi.c1615 ((scsi_bufflen(cmnd) - scsi_get_resid(cmnd)) in csio_scsi_err_handler()
1628 scsi_bufflen(cmnd), scsi_get_resid(cmnd)); in csio_scsi_err_handler()
1638 scsi_get_resid(cmnd), cmnd->device->lun, in csio_scsi_err_handler()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_scsi_host.c57 if (scsi_bufflen(sc) - scsi_get_resid(sc) < sc->underflow) in sas_end_task()
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/
Dibmvfc.c1540 rsp->flags, rsp_code, scsi_get_resid(cmnd), rsp->scsi_status); in ibmvfc_log_error()
1599 if (!cmnd->result && (!scsi_get_resid(cmnd) || (rsp->flags & FCP_RESID_OVER))) in ibmvfc_scsi_done()
1606 (scsi_bufflen(cmnd) - scsi_get_resid(cmnd) < cmnd->underflow)) in ibmvfc_scsi_done()
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptscsih.c541 scsi_get_resid(sc)); in mptscsih_info_scsiio()
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c5303 scsi_bufflen(scmd), scmd->underflow, scsi_get_resid(scmd)); in _scsih_scsi_ioc_info()