Searched refs:good_bytes (Results 1 – 12 of 12) sorted by relevance
| /Linux-v4.19/fs/nfs/ |
| D | read.c | 168 if (bytes > hdr->good_bytes) { in nfs_read_completion() 173 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion() 176 start += hdr->good_bytes - bytes; in nfs_read_completion() 183 if (bytes <= hdr->good_bytes) in nfs_read_completion() 204 trace_nfs_initiate_read(inode, hdr->io_start, hdr->good_bytes); in nfs_initiate_read() 283 if (bound < hdr->io_start + hdr->good_bytes) { in nfs_readpage_result() 286 hdr->good_bytes = bound - hdr->io_start; in nfs_readpage_result()
|
| D | direct.c | 130 dreq->mirrors[hdr->pgio_mirror_idx].count += hdr->good_bytes; in nfs_direct_good_bytes() 131 dreq->count += hdr->good_bytes; in nfs_direct_good_bytes() 135 if (count + dreq->io_start < hdr->io_start + hdr->good_bytes) { in nfs_direct_good_bytes() 136 count = hdr->io_start + hdr->good_bytes - dreq->io_start; in nfs_direct_good_bytes() 404 if (test_bit(NFS_IOHDR_ERROR, &hdr->flags) && (hdr->good_bytes == 0)) in nfs_direct_read_completion() 415 if (!PageCompound(page) && bytes < hdr->good_bytes) in nfs_direct_read_completion() 837 hdr->good_bytes = hdr->args.count; in nfs_direct_write_reschedule_io()
|
| D | pagelist.c | 52 hdr->good_bytes = mirror->pg_count; in nfs_pgheader_init() 68 || pos < hdr->io_start + hdr->good_bytes) { in nfs_set_pgio_error() 70 hdr->good_bytes = pos - hdr->io_start; in nfs_set_pgio_error()
|
| D | write.c | 995 (hdr->good_bytes < bytes)) { in nfs_write_completion() 1379 trace_nfs_initiate_write(hdr->inode, hdr->io_start, hdr->good_bytes, in nfs_initiate_write()
|
| /Linux-v4.19/drivers/scsi/ |
| D | scsi.c | 207 unsigned int good_bytes; in scsi_finish_command() local 233 good_bytes = scsi_bufflen(cmd); in scsi_finish_command() 235 int old_good_bytes = good_bytes; in scsi_finish_command() 238 good_bytes = drv->done(cmd); in scsi_finish_command() 245 if (good_bytes == old_good_bytes) in scsi_finish_command() 246 good_bytes -= scsi_get_resid(cmd); in scsi_finish_command() 248 scsi_io_completion(cmd, good_bytes); in scsi_finish_command()
|
| D | sd_zbc.c | 163 unsigned int good_bytes) in sd_zbc_report_zones_complete() argument 174 if (good_bytes < 64) in sd_zbc_report_zones_complete() 183 while (sg_miter_next(&miter) && bytes < good_bytes) { in sd_zbc_report_zones_complete() 191 (good_bytes - 64) / 64, in sd_zbc_report_zones_complete() 273 void sd_zbc_complete(struct scsi_cmnd *cmd, unsigned int good_bytes, in sd_zbc_complete() argument 301 sd_zbc_report_zones_complete(cmd, good_bytes); in sd_zbc_complete()
|
| D | sr.c | 322 int good_bytes = (result == 0 ? this_count : 0); in sr_done() local 357 good_bytes = (error_sector - in sr_done() 359 if (good_bytes < 0 || good_bytes >= this_count) in sr_done() 360 good_bytes = 0; in sr_done() 375 good_bytes = this_count; in sr_done() 383 return good_bytes; in sr_done()
|
| D | sd.h | 278 extern void sd_zbc_complete(struct scsi_cmnd *cmd, unsigned int good_bytes, 304 unsigned int good_bytes, in sd_zbc_complete() argument
|
| D | sd.c | 1884 unsigned int transferred, good_bytes; in sd_completed_bytes() local 1918 good_bytes = logical_to_bytes(sdev, bad_lba - start_lba); in sd_completed_bytes() 1920 return min(good_bytes, transferred); in sd_completed_bytes() 1933 unsigned int good_bytes = result ? 0 : scsi_bufflen(SCpnt); in sd_done() local 1948 good_bytes = blk_rq_bytes(req); in sd_done() 1951 good_bytes = 0; in sd_done() 1957 good_bytes = scsi_bufflen(SCpnt) in sd_done() 1961 good_bytes = 0; in sd_done() 1996 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 1999 good_bytes = scsi_bufflen(SCpnt); in sd_done() [all …]
|
| D | scsi_lib.c | 1038 void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) in scsi_io_completion() argument 1085 blk_rq_sectors(req), good_bytes)); in scsi_io_completion() 1093 if (likely(!scsi_end_request(req, blk_stat, good_bytes, 0))) in scsi_io_completion()
|
| /Linux-v4.19/fs/exofs/ |
| D | inode.c | 198 u64 good_bytes; in __readpages_done() local 203 good_bytes = pcol->length; in __readpages_done() 206 good_bytes = 0; in __readpages_done() 211 pcol->inode->i_ino, _LLU(good_bytes), pcol->length, in __readpages_done() 222 if (likely(length < good_bytes)) in __readpages_done() 524 u64 good_bytes; in writepages_done() local 531 good_bytes = pcol->length; in writepages_done() 534 good_bytes = 0; in writepages_done() 539 pcol->inode->i_ino, _LLU(good_bytes), pcol->length, in writepages_done() 550 if (likely(length < good_bytes)) in writepages_done()
|
| /Linux-v4.19/include/linux/ |
| D | nfs_xdr.h | 1478 unsigned long good_bytes; /* boundary of good data */ member
|