Searched refs:wb_bytes (Results 1 – 11 of 11) sorted by relevance
383 req->wb_bytes = count; in nfs_create_request()510 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test()514 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()947 if (req_offset(req) != req_offset(prev) + prev->wb_bytes) in nfs_can_coalesce_requests()950 if (req->wb_pgbase != prev->wb_pgbase + prev->wb_bytes) in nfs_can_coalesce_requests()954 prev->wb_pgbase + prev->wb_bytes != PAGE_CACHE_SIZE) in nfs_can_coalesce_requests()959 WARN_ON_ONCE(size > req->wb_bytes); in nfs_can_coalesce_requests()960 if (size && size < req->wb_bytes) in nfs_can_coalesce_requests()961 req->wb_bytes = size; in nfs_can_coalesce_requests()991 mirror->pg_count += req->wb_bytes; in nfs_pageio_do_add_request()[all …]
126 (unsigned long long)NFS_FILEID(inode), req->wb_bytes, in nfs_readpage_release()154 unsigned long end = req->wb_pgbase + req->wb_bytes; in nfs_read_completion()165 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion()173 bytes += req->wb_bytes; in nfs_read_completion()
193 page_offset < (req->wb_pgbase + req->wb_bytes)) in nfs_page_group_search_locked()222 pos += tmp->wb_bytes - (pos - tmp->wb_pgbase); in nfs_page_group_covers_page()480 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests()482 ((subreq->wb_offset + subreq->wb_bytes) > in nfs_lock_and_join_requests()520 head->wb_bytes = total_bytes; in nfs_lock_and_join_requests()913 bytes += req->wb_bytes; in nfs_write_completion()1026 rqend = req->wb_offset + req->wb_bytes; in nfs_try_to_update_request()1055 req->wb_bytes = end - req->wb_offset; in nfs_try_to_update_request()1057 req->wb_bytes = rqend - req->wb_offset; in nfs_try_to_update_request()1608 if (lwb < (req_offset(req) + req->wb_bytes)) in nfs_get_lwb()[all …]
407 req->wb_bytes, in nfs_direct_readpage_release()434 bytes += req->wb_bytes; in nfs_direct_read_completion()
1791 u64 rd_size = req->wb_bytes; in pnfs_generic_pg_init_read()
47 wb_bytes; /* Length of request */ member
97 size_t wb_bytes; /* bytes written by current wb */ member
532 wbc->wb_bytes = 0; in wbc_attach_and_unlock_inode()599 if (wbc->wb_bytes >= wbc->wb_lcand_bytes && in wbc_detach_inode()600 wbc->wb_bytes >= wbc->wb_tcand_bytes) { in wbc_detach_inode()602 max_bytes = wbc->wb_bytes; in wbc_detach_inode()695 wbc->wb_bytes += bytes; in wbc_account_io()
542 if (!size || mirror->pg_count + req->wb_bytes > in objio_pg_test()546 return min(size, req->wb_bytes); in objio_pg_test()
758 if (IS_ALIGNED(req->wb_bytes, alignment)) in is_aligned_req()761 if (req_offset(req) + req->wb_bytes == i_size_read(pgio->pg_inode)) { in is_aligned_req()
1540 count += req->wb_bytes; in ff_layout_commit_done()