Home
last modified time | relevance | path

Searched refs:wb_bytes (Results 1 – 12 of 12) sorted by relevance

/linux/fs/nfs/
H A Dpagelist.c53 i->count = (tmp < req->wb_bytes) ? tmp : req->wb_bytes; in nfs_page_iter_page_advance()
61 if (i->count != req->wb_bytes) { in nfs_page_iter_page_get()
401 req->wb_bytes = count; in nfs_page_create()
627 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test()
631 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()
1050 size_t prev_end = prev->wb_pgbase + prev->wb_bytes; in nfs_page_is_contiguous()
1052 if (req_offset(req) != req_offset(prev) + prev->wb_bytes) in nfs_page_is_contiguous()
1135 if (size < req->wb_bytes) in nfs_pageio_do_add_request()
1138 mirror->pg_count += req->wb_bytes; in nfs_pageio_do_add_request()
1139 return req->wb_bytes; in nfs_pageio_do_add_request()
[all …]
H A Dwrite.c250 return req->wb_pgbase == 0 && req->wb_bytes == len; in nfs_page_group_covers_page()
391 bytes = head->wb_bytes; in nfs_join_page_group()
401 bytes = max(subreq->wb_pgbase + subreq->wb_bytes in nfs_join_page_group()
407 head->wb_bytes = bytes; in nfs_join_page_group()
920 bytes += req->wb_bytes; in nfs_write_completion()
1032 rqend = req->wb_offset + req->wb_bytes; in nfs_try_to_update_request()
1048 req->wb_bytes = end - req->wb_offset; in nfs_try_to_update_request()
1050 req->wb_bytes = rqend - req->wb_offset; in nfs_try_to_update_request()
1677 if (lwb < (req_offset(req) + req->wb_bytes)) in nfs_get_lwb()
1678 lwb = req_offset(req) + req->wb_bytes; in nfs_get_lwb()
[all …]
H A Dread.c150 unsigned long end = req->wb_pgbase + req->wb_bytes; in nfs_read_completion()
161 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion()
170 bytes += req->wb_bytes; in nfs_read_completion()
H A Dpnfs.h684 u64 req_last = req_offset(req) + req->wb_bytes; in pnfs_lseg_request_intersecting()
H A Ddirect.c299 bytes += req->wb_bytes; in nfs_direct_read_completion()
H A Dnfstrace.h1514 __entry->count = req->wb_bytes;
1561 __entry->count = req->wb_bytes;
/linux/include/linux/
H A Dnfs_page.h53 wb_bytes; /* Length of request */ member
H A Dwriteback.h87 size_t wb_bytes; /* bytes written by current wb */ member
/linux/fs/
H A Dfs-writeback.c798 wbc->wb_bytes = 0; in wbc_attach_and_unlock_inode()
886 if (wbc->wb_bytes >= wbc->wb_lcand_bytes && in wbc_detach_inode()
887 wbc->wb_bytes >= wbc->wb_tcand_bytes) { in wbc_detach_inode()
889 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
990 wbc->wb_bytes += bytes; in wbc_account_cgroup_owner()
/linux/fs/nfs/blocklayout/
H A Dblocklayout.c835 if (IS_ALIGNED(req->wb_bytes, alignment)) in is_aligned_req()
839 (req_offset(req) + req->wb_bytes == i_size_read(pgio->pg_inode))) { in is_aligned_req()
/linux/fs/nfs/filelayout/
H A Dfilelayout.c875 req->wb_bytes, in filelayout_pg_init_read()
899 req->wb_bytes, in filelayout_pg_init_write()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c965 req_offset(req), req->wb_bytes, IOMODE_READ, in ff_layout_pg_get_read()
1108 req_offset(req), req->wb_bytes, in ff_layout_pg_init_write()
1169 req_offset(req), req->wb_bytes, in ff_layout_pg_get_mirror_count_write()
2015 count += req->wb_bytes; in ff_layout_commit_record_layoutstats_done()