Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nfs/
Dread.c168 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()
Ddirect.c153 loff_t hdr_end = hdr->io_start + hdr->good_bytes; in nfs_direct_count_bytes()
433 if (!PageCompound(page) && bytes < hdr->good_bytes && in nfs_direct_read_completion()
809 if (hdr->good_bytes != 0) { in nfs_direct_write_completion()
865 hdr->good_bytes = hdr->args.count; in nfs_direct_write_reschedule_io()
Dpagelist.c52 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()
Dwrite.c1012 (hdr->good_bytes < bytes)) { in nfs_write_completion()
1383 trace_nfs_initiate_write(hdr->inode, hdr->io_start, hdr->good_bytes, in nfs_initiate_write()
/linux-4.19.296/fs/exofs/
Dinode.c198 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.19.296/include/linux/
Dnfs_xdr.h1478 unsigned long good_bytes; /* boundary of good data */ member