Searched refs:good_bytes (Results 1 – 12 of 12) sorted by relevance
/linux-4.4.14/fs/nfs/ |
D | read.c | 160 if (bytes > hdr->good_bytes) { in nfs_read_completion() 165 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion() 168 start += hdr->good_bytes - bytes; in nfs_read_completion() 175 if (bytes <= hdr->good_bytes) in nfs_read_completion() 272 if (bound < hdr->io_start + hdr->good_bytes) { in nfs_readpage_result() 275 hdr->good_bytes = bound - hdr->io_start; in nfs_readpage_result()
|
D | direct.c | 133 dreq->mirrors[hdr->pgio_mirror_idx].count += hdr->good_bytes; in nfs_direct_good_bytes() 134 dreq->count += hdr->good_bytes; in nfs_direct_good_bytes() 138 if (count + dreq->io_start < hdr->io_start + hdr->good_bytes) { in nfs_direct_good_bytes() 139 count = hdr->io_start + hdr->good_bytes - dreq->io_start; in nfs_direct_good_bytes() 421 if (test_bit(NFS_IOHDR_ERROR, &hdr->flags) && (hdr->good_bytes == 0)) in nfs_direct_read_completion() 432 if (!PageCompound(page) && bytes < hdr->good_bytes) in nfs_direct_read_completion()
|
D | pagelist.c | 65 hdr->good_bytes = mirror->pg_count; in nfs_pgheader_init() 81 || pos < hdr->io_start + hdr->good_bytes) { in nfs_set_pgio_error() 83 hdr->good_bytes = pos - hdr->io_start; in nfs_set_pgio_error()
|
D | write.c | 916 (hdr->good_bytes < bytes)) { in nfs_write_completion()
|
/linux-4.4.14/drivers/scsi/ |
D | sd_dif.c | 164 void sd_dif_complete(struct scsi_cmnd *scmd, unsigned int good_bytes) in sd_dif_complete() argument 175 if (sdkp->protection_type == SD_DIF_TYPE3_PROTECTION || good_bytes == 0) in sd_dif_complete() 178 intervals = good_bytes / scsi_prot_interval(scmd); in sd_dif_complete()
|
D | scsi.c | 566 unsigned int good_bytes; in scsi_finish_command() local 592 good_bytes = scsi_bufflen(cmd); in scsi_finish_command() 594 int old_good_bytes = good_bytes; in scsi_finish_command() 597 good_bytes = drv->done(cmd); in scsi_finish_command() 604 if (good_bytes == old_good_bytes) in scsi_finish_command() 605 good_bytes -= scsi_get_resid(cmd); in scsi_finish_command() 607 scsi_io_completion(cmd, good_bytes); in scsi_finish_command()
|
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.c | 1722 unsigned int good_bytes; in sd_completed_bytes() local 1749 good_bytes = (bad_lba - start_lba) * scmd->device->sector_size; in sd_completed_bytes() 1750 return min(good_bytes, transferred); in sd_completed_bytes() 1763 unsigned int good_bytes = result ? 0 : scsi_bufflen(SCpnt); in sd_done() local 1774 good_bytes = blk_rq_bytes(req); in sd_done() 1777 good_bytes = 0; in sd_done() 1796 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 1799 good_bytes = scsi_bufflen(SCpnt); in sd_done() 1811 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 1815 good_bytes = sd_completed_bytes(SCpnt); in sd_done() [all …]
|
D | scsi_lib.c | 818 void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) in scsi_io_completion() argument 890 blk_rq_sectors(req), good_bytes)); in scsi_io_completion() 918 !scsi_end_request(req, error, good_bytes, 0)) in scsi_io_completion()
|
/linux-4.4.14/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-4.4.14/include/linux/ |
D | nfs_xdr.h | 1398 unsigned long good_bytes; /* boundary of good data */ member
|
/linux-4.4.14/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 925 hdr->good_bytes = hdr->args.count; in ff_layout_reset_write()
|