Searched refs:good_bytes (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/scsi/ |
| A D | scsi.c | 165 unsigned int good_bytes; in scsi_finish_command() local 184 good_bytes = scsi_bufflen(cmd); in scsi_finish_command() 186 int old_good_bytes = good_bytes; in scsi_finish_command() 189 good_bytes = drv->done(cmd); in scsi_finish_command() 196 if (good_bytes == old_good_bytes) in scsi_finish_command() 197 good_bytes -= scsi_get_resid(cmd); in scsi_finish_command() 199 scsi_io_completion(cmd, good_bytes); in scsi_finish_command()
|
| A D | sd_zbc.c | 442 unsigned int good_bytes) in sd_zbc_zone_wp_update() argument 462 good_bytes = 0; in sd_zbc_zone_wp_update() 484 good_bytes >> SECTOR_SHIFT; in sd_zbc_zone_wp_update() 503 return good_bytes; in sd_zbc_zone_wp_update() 515 unsigned int sd_zbc_complete(struct scsi_cmnd *cmd, unsigned int good_bytes, in sd_zbc_complete() argument 532 good_bytes = sd_zbc_zone_wp_update(cmd, good_bytes); in sd_zbc_complete() 537 return good_bytes; in sd_zbc_complete()
|
| A D | sd.h | 225 unsigned int sd_zbc_complete(struct scsi_cmnd *cmd, unsigned int good_bytes, 256 unsigned int good_bytes, struct scsi_sense_hdr *sshdr) in sd_zbc_complete() argument 258 return good_bytes; in sd_zbc_complete()
|
| A D | sr.c | 334 int good_bytes = (result == 0 ? this_count : 0); in sr_done() local 367 good_bytes = (error_sector - blk_rq_pos(rq)) << 9; in sr_done() 368 if (good_bytes < 0 || good_bytes >= this_count) in sr_done() 369 good_bytes = 0; in sr_done() 384 good_bytes = this_count; in sr_done() 392 return good_bytes; in sr_done()
|
| A D | sd.c | 1983 unsigned int transferred, good_bytes; in sd_completed_bytes() local 2019 return min(good_bytes, transferred); in sd_completed_bytes() 2051 good_bytes = blk_rq_bytes(req); in sd_done() 2054 good_bytes = 0; in sd_done() 2090 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 2093 good_bytes = scsi_bufflen(SCpnt); in sd_done() 2105 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 2110 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 2137 good_bytes = sd_zbc_complete(SCpnt, good_bytes, &sshdr); in sd_done() 2141 good_bytes, scsi_bufflen(SCpnt))); in sd_done() [all …]
|
| A D | scsi_lib.c | 909 void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) in scsi_io_completion() argument 932 blk_rq_sectors(req), good_bytes)); in scsi_io_completion() 939 if (likely(!scsi_end_request(req, blk_stat, good_bytes))) in scsi_io_completion()
|
| /linux/fs/nfs/ |
| A D | read.c | 161 if (bytes > hdr->good_bytes) { in nfs_read_completion() 166 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion() 169 start += hdr->good_bytes - bytes; in nfs_read_completion() 177 if (bytes <= hdr->good_bytes) in nfs_read_completion() 283 if (hdr->good_bytes > new) { in nfs_readpage_result() 284 hdr->good_bytes = new; in nfs_readpage_result()
|
| A D | direct.c | 139 loff_t hdr_end = hdr->io_start + hdr->good_bytes; in nfs_direct_count_bytes() 304 if (!PageCompound(page) && bytes < hdr->good_bytes && in nfs_direct_read_completion() 715 if (hdr->good_bytes != 0 && nfs_write_need_commit(hdr)) { in nfs_direct_write_completion() 765 hdr->good_bytes = hdr->args.offset + hdr->args.count - in nfs_direct_write_reschedule_io()
|
| A D | pagelist.c | 68 hdr->good_bytes = mirror->pg_count; in nfs_pgheader_init() 85 if (hdr->good_bytes > new) { in nfs_set_pgio_error() 86 hdr->good_bytes = new; in nfs_set_pgio_error()
|
| A D | write.c | 1004 (hdr->good_bytes < bytes)) { in nfs_write_completion()
|
| /linux/include/linux/ |
| A D | nfs_xdr.h | 1613 unsigned int good_bytes; /* boundary of good data */ member
|
Completed in 40 milliseconds