Home
last modified time | relevance | path

Searched refs:good_bytes (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/scsi/
H A Dsd_trace.h49 unsigned int wp_offset, unsigned int good_bytes),
51 TP_ARGS(cmnd, rq_sector, wp_offset, good_bytes),
60 __field( unsigned int, good_bytes )
70 __entry->good_bytes = good_bytes;
77 __entry->good_bytes)
H A Dscsi.c164 unsigned int good_bytes; in scsi_finish_command() local
183 good_bytes = scsi_bufflen(cmd); in scsi_finish_command()
185 int old_good_bytes = good_bytes; in scsi_finish_command()
188 good_bytes = drv->done(cmd); in scsi_finish_command()
195 if (good_bytes == old_good_bytes) in scsi_finish_command()
196 good_bytes -= scsi_get_resid(cmd); in scsi_finish_command()
198 scsi_io_completion(cmd, good_bytes); in scsi_finish_command()
H A Dsd.h240 unsigned int sd_zbc_complete(struct scsi_cmnd *cmd, unsigned int good_bytes,
266 unsigned int good_bytes, struct scsi_sense_hdr *sshdr) in sd_zbc_complete() argument
268 return good_bytes; in sd_zbc_complete()
H A Dscsi_lib.c1057 void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) in scsi_io_completion() argument
1072 blk_rq_sectors(req), good_bytes)); in scsi_io_completion()
1079 if (likely(!scsi_end_request(req, blk_stat, good_bytes))) in scsi_io_completion()
/linux/fs/nfs/
H A Dread.c155 if (bytes > hdr->good_bytes) { in nfs_read_completion()
160 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion()
163 start += hdr->good_bytes - bytes; in nfs_read_completion()
171 if (bytes <= hdr->good_bytes) in nfs_read_completion()
276 if (hdr->good_bytes > new) { in nfs_readpage_result()
277 hdr->good_bytes = new; in nfs_readpage_result()
H A Dpagelist.c106 hdr->good_bytes = mirror->pg_count; in nfs_pgheader_init()
124 if (hdr->good_bytes > new) { in nfs_set_pgio_error()
125 hdr->good_bytes = new; in nfs_set_pgio_error()
H A Ddirect.c107 loff_t hdr_end = hdr->io_start + hdr->good_bytes; in nfs_direct_count_bytes()
296 if (!PageCompound(page) && bytes < hdr->good_bytes && in nfs_direct_read_completion()
/linux/include/linux/
H A Dnfs_xdr.h1660 unsigned int good_bytes; /* boundary of good data */ member