Searched refs:good_bytes (Results 1 – 6 of 6) sorted by relevance
/drivers/scsi/ |
D | scsi.c | 187 unsigned int good_bytes; in scsi_finish_command() local 213 good_bytes = scsi_bufflen(cmd); in scsi_finish_command() 215 int old_good_bytes = good_bytes; in scsi_finish_command() 218 good_bytes = drv->done(cmd); in scsi_finish_command() 225 if (good_bytes == old_good_bytes) in scsi_finish_command() 226 good_bytes -= scsi_get_resid(cmd); in scsi_finish_command() 228 scsi_io_completion(cmd, good_bytes); in scsi_finish_command()
|
D | sr.c | 324 int good_bytes = (result == 0 ? this_count : 0); in sr_done() local 359 good_bytes = (error_sector - in sr_done() 361 if (good_bytes < 0 || good_bytes >= this_count) in sr_done() 362 good_bytes = 0; in sr_done() 377 good_bytes = this_count; in sr_done() 385 return good_bytes; in sr_done()
|
D | sd.h | 214 extern void sd_zbc_complete(struct scsi_cmnd *cmd, unsigned int good_bytes, 237 unsigned int good_bytes, in sd_zbc_complete() argument
|
D | sd.c | 1916 unsigned int transferred, good_bytes; in sd_completed_bytes() local 1950 good_bytes = logical_to_bytes(sdev, bad_lba - start_lba); in sd_completed_bytes() 1952 return min(good_bytes, transferred); in sd_completed_bytes() 1965 unsigned int good_bytes = result ? 0 : scsi_bufflen(SCpnt); in sd_done() local 1984 good_bytes = blk_rq_bytes(req); in sd_done() 1987 good_bytes = 0; in sd_done() 2023 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 2026 good_bytes = scsi_bufflen(SCpnt); in sd_done() 2038 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 2043 good_bytes = sd_completed_bytes(SCpnt); in sd_done() [all …]
|
D | sd_zbc.c | 262 void sd_zbc_complete(struct scsi_cmnd *cmd, unsigned int good_bytes, in sd_zbc_complete() argument
|
D | scsi_lib.c | 932 void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) in scsi_io_completion() argument 955 blk_rq_sectors(req), good_bytes)); in scsi_io_completion() 963 if (likely(!scsi_end_request(req, blk_stat, good_bytes))) in scsi_io_completion()
|