Lines Matching refs:wb_bytes
367 req->wb_bytes = count; in nfs_create_request()
506 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test()
510 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()
934 if (req_offset(req) != req_offset(prev) + prev->wb_bytes) in nfs_can_coalesce_requests()
937 if (req->wb_pgbase != prev->wb_pgbase + prev->wb_bytes) in nfs_can_coalesce_requests()
941 prev->wb_pgbase + prev->wb_bytes != PAGE_SIZE) in nfs_can_coalesce_requests()
946 WARN_ON_ONCE(size > req->wb_bytes); in nfs_can_coalesce_requests()
947 if (size && size < req->wb_bytes) in nfs_can_coalesce_requests()
948 req->wb_bytes = size; in nfs_can_coalesce_requests()
979 mirror->pg_count += req->wb_bytes; in nfs_pageio_do_add_request()
1036 bytes_left = subreq->wb_bytes; in __nfs_pageio_add_request()
1043 WARN_ON_ONCE(subreq->wb_bytes != bytes_left); in __nfs_pageio_add_request()
1058 WARN_ON_ONCE(subreq->wb_bytes + subreq->wb_pgbase > PAGE_SIZE); in __nfs_pageio_add_request()
1059 WARN_ON_ONCE(subreq->wb_bytes > bytes_left); in __nfs_pageio_add_request()
1060 WARN_ON_ONCE(subreq->wb_bytes == 0); in __nfs_pageio_add_request()
1062 bytes_left -= subreq->wb_bytes; in __nfs_pageio_add_request()
1063 offset += subreq->wb_bytes; in __nfs_pageio_add_request()
1064 pgbase += subreq->wb_bytes; in __nfs_pageio_add_request()
1159 bytes = req->wb_bytes; in nfs_pageio_add_request()