Searched refs:good_bytes (Results 1 - 5 of 5) sorted by relevance

/drivers/scsi/
H A Dsd_dif.c159 void sd_dif_complete(struct scsi_cmnd *scmd, unsigned int good_bytes) argument
170 if (sdkp->protection_type == SD_DIF_TYPE3_PROTECTION || good_bytes == 0)
173 intervals = good_bytes / scsi_prot_interval(scmd);
H A Dscsi.c731 unsigned int good_bytes; local
757 good_bytes = scsi_bufflen(cmd);
759 int old_good_bytes = good_bytes;
762 good_bytes = drv->done(cmd);
769 if (good_bytes == old_good_bytes)
770 good_bytes -= scsi_get_resid(cmd);
772 scsi_io_completion(cmd, good_bytes);
H A Dsr.c319 int good_bytes = (result == 0 ? this_count : 0); local
354 good_bytes = (error_sector -
356 if (good_bytes < 0 || good_bytes >= this_count)
357 good_bytes = 0;
372 good_bytes = this_count;
380 return good_bytes;
H A Dsd.c1644 unsigned int good_bytes; local
1678 good_bytes = (bad_lba - start_lba) * scmd->device->sector_size;
1679 return min(good_bytes, transferred);
1692 unsigned int good_bytes = result ? 0 : scsi_bufflen(SCpnt); local
1703 good_bytes = blk_rq_bytes(req);
1706 good_bytes = 0;
1736 good_bytes = sd_completed_bytes(SCpnt);
1739 good_bytes = scsi_bufflen(SCpnt);
1752 good_bytes = sd_completed_bytes(SCpnt);
1756 good_bytes
[all...]
H A Dscsi_lib.c827 void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) argument
884 * good_bytes != blk_rq_bytes(req) as the signal for an error.
899 blk_rq_sectors(req), good_bytes));
924 if (!scsi_end_request(req, error, good_bytes, 0))

Completed in 396 milliseconds