Lines Matching refs:good_bytes
2231 unsigned int transferred, good_bytes; in sd_completed_bytes() local
2265 good_bytes = logical_to_bytes(sdev, bad_lba - start_lba); in sd_completed_bytes()
2267 return min(good_bytes, transferred); in sd_completed_bytes()
2280 unsigned int good_bytes = result ? 0 : scsi_bufflen(SCpnt); in sd_done() local
2298 good_bytes = blk_rq_bytes(req); in sd_done()
2301 good_bytes = 0; in sd_done()
2337 good_bytes = sd_completed_bytes(SCpnt); in sd_done()
2340 good_bytes = scsi_bufflen(SCpnt); in sd_done()
2352 good_bytes = sd_completed_bytes(SCpnt); in sd_done()
2357 good_bytes = sd_completed_bytes(SCpnt); in sd_done()
2383 good_bytes = sd_zbc_complete(SCpnt, good_bytes, &sshdr); in sd_done()
2387 good_bytes, scsi_bufflen(SCpnt))); in sd_done()
2389 return good_bytes; in sd_done()