/openbmc/linux/drivers/scsi/ |
H A D | sd_trace.h | 49 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 D | sd_zbc.c | 531 unsigned int good_bytes) in sd_zbc_zone_wp_update() argument 551 good_bytes = 0; in sd_zbc_zone_wp_update() 567 sdkp->zones_wp_offset[zno], good_bytes); in sd_zbc_zone_wp_update() 574 good_bytes >> SECTOR_SHIFT; in sd_zbc_zone_wp_update() 593 return good_bytes; in sd_zbc_zone_wp_update() 605 unsigned int sd_zbc_complete(struct scsi_cmnd *cmd, unsigned int good_bytes, in sd_zbc_complete() argument 622 good_bytes = sd_zbc_zone_wp_update(cmd, good_bytes); in sd_zbc_complete() 627 return good_bytes; in sd_zbc_complete()
|
H A D | sd.h | 250 unsigned int sd_zbc_complete(struct scsi_cmnd *cmd, unsigned int good_bytes, 280 unsigned int good_bytes, struct scsi_sense_hdr *sshdr) in sd_zbc_complete() argument 282 return good_bytes; in sd_zbc_complete()
|
H A D | scsi.c | 164 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 D | sr.c | 298 int good_bytes = (result == 0 ? this_count : 0); in sr_done() local 331 good_bytes = (error_sector - blk_rq_pos(rq)) << 9; in sr_done() 332 if (good_bytes < 0 || good_bytes >= this_count) in sr_done() 333 good_bytes = 0; in sr_done() 348 good_bytes = this_count; in sr_done() 356 return good_bytes; in sr_done()
|
H A D | sd.c | 2071 unsigned int transferred, good_bytes; in sd_completed_bytes() local 2105 good_bytes = logical_to_bytes(sdev, bad_lba - start_lba); in sd_completed_bytes() 2107 return min(good_bytes, transferred); in sd_completed_bytes() 2120 unsigned int good_bytes = result ? 0 : scsi_bufflen(SCpnt); in sd_done() local 2138 good_bytes = blk_rq_bytes(req); in sd_done() 2141 good_bytes = 0; in sd_done() 2177 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 2180 good_bytes = scsi_bufflen(SCpnt); in sd_done() 2192 good_bytes = sd_completed_bytes(SCpnt); in sd_done() 2197 good_bytes = sd_completed_bytes(SCpnt); in sd_done() [all …]
|
H A D | scsi_lib.c | 959 void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) in scsi_io_completion() argument 974 blk_rq_sectors(req), good_bytes)); in scsi_io_completion() 981 if (likely(!scsi_end_request(req, blk_stat, good_bytes))) in scsi_io_completion()
|
/openbmc/qemu/rust/qemu-api/src/ |
H A D | c_str.rs | 43 let good_bytes = b"\xf0\x9f\xa6\x80\0"; in test_cstr_macro() localVariable 44 assert_eq!(good.to_bytes_with_nul(), good_bytes); in test_cstr_macro()
|
/openbmc/linux/fs/nfs/ |
H A D | read.c | 157 if (bytes > hdr->good_bytes) { in nfs_read_completion() 162 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion() 165 start += hdr->good_bytes - bytes; in nfs_read_completion() 173 if (bytes <= hdr->good_bytes) in nfs_read_completion() 278 if (hdr->good_bytes > new) { in nfs_readpage_result() 279 hdr->good_bytes = new; in nfs_readpage_result()
|
H A D | pagelist.c | 106 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 D | direct.c | 106 loff_t hdr_end = hdr->io_start + hdr->good_bytes; in nfs_direct_count_bytes() 293 if (!PageCompound(page) && bytes < hdr->good_bytes && in nfs_read_sync_pgio_error()
|
H A D | write.c | 1007 (hdr->good_bytes < bytes)) { in nfs_write_completion()
|
/openbmc/linux/rust/kernel/ |
H A D | str.rs | 363 let good_bytes = b"\xf0\x9f\xa6\x80\0"; in test_cstr_to_str() localVariable 364 let checked_cstr = CStr::from_bytes_with_nul(good_bytes).unwrap(); in test_cstr_to_str() 379 let good_bytes = b"\xf0\x9f\x90\xA7\0"; in test_cstr_as_str_unchecked() localVariable 380 let checked_cstr = CStr::from_bytes_with_nul(good_bytes).unwrap(); in test_cstr_as_str_unchecked()
|
/openbmc/linux/include/linux/ |
H A D | nfs_xdr.h | 1632 unsigned int good_bytes; /* boundary of good data */ member
|