Home
last modified time | relevance | path

Searched refs:good_bytes (Results 1 – 6 of 6) 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 Dsr.c298 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()
/linux/rust/kernel/
H A Dstr.rs486 let good_bytes = c"\xf0\x9f\xa6\x80"; in test_cstr_display_all_bytes()
487 assert_eq!(format!("{good_bytes}"), "\\xf0\\x9f\\xa6\\x80"); in test_cstr_display_all_bytes()
524 let good_bytes = BStr::from_bytes(b"\xf0\x9f\xa6\x80"); in test_bstr_debug()
525 assert_eq!(format!("{good_bytes}"), "\\xf0\\x9f\\xa6\\x80"); in test_bstr_debug() localVariable
539 let good_bytes = BStr::from_bytes(b"\xf0\x9f\xa6\x80");
540 assert_eq!(format!("{good_bytes:?}"), "\"\\xf0\\x9f\\xa6\\x80\"");
472 let good_bytes = c"\xf0\x9f\xa6\x80"; test_cstr_display() localVariable
510 let good_bytes = BStr::from_bytes(b"\xf0\x9f\xa6\x80"); test_bstr_display() localVariable
/linux/include/linux/
H A Dnfs_xdr.h1679 unsigned int good_bytes; /* boundary of good data */ member
/linux/fs/nfs/
H A Dwrite.c925 (hdr->good_bytes < bytes)) { in nfs_write_completion()