Home
last modified time | relevance | path

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

/Linux-v4.19/fs/nfs/
Dpagelist.c344 req->wb_bytes = count; in nfs_create_request()
483 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test()
487 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()
921 if (req_offset(req) != req_offset(prev) + prev->wb_bytes) in nfs_can_coalesce_requests()
924 if (req->wb_pgbase != prev->wb_pgbase + prev->wb_bytes) in nfs_can_coalesce_requests()
928 prev->wb_pgbase + prev->wb_bytes != PAGE_SIZE) in nfs_can_coalesce_requests()
933 WARN_ON_ONCE(size > req->wb_bytes); in nfs_can_coalesce_requests()
934 if (size && size < req->wb_bytes) in nfs_can_coalesce_requests()
935 req->wb_bytes = size; in nfs_can_coalesce_requests()
967 mirror->pg_count += req->wb_bytes; in nfs_pageio_do_add_request()
[all …]
Dwrite.c267 page_offset < (req->wb_pgbase + req->wb_bytes)) in nfs_page_group_search_locked()
295 pos = tmp->wb_pgbase + tmp->wb_bytes; in nfs_page_group_covers_page()
496 total_bytes = head->wb_bytes; in nfs_lock_and_join_requests()
502 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests()
527 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests()
529 ((subreq->wb_offset + subreq->wb_bytes) > in nfs_lock_and_join_requests()
555 head->wb_bytes = total_bytes; in nfs_lock_and_join_requests()
992 bytes += req->wb_bytes; in nfs_write_completion()
1115 rqend = req->wb_offset + req->wb_bytes; in nfs_try_to_update_request()
1131 req->wb_bytes = end - req->wb_offset; in nfs_try_to_update_request()
[all …]
Dread.c98 (unsigned long long)NFS_FILEID(inode), req->wb_bytes, in nfs_readpage_release()
162 unsigned long end = req->wb_pgbase + req->wb_bytes; in nfs_read_completion()
173 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion()
181 bytes += req->wb_bytes; in nfs_read_completion()
Dpnfs.h616 u64 req_last = req_offset(req) + req->wb_bytes; in pnfs_lseg_request_intersecting()
Ddirect.c417 bytes += req->wb_bytes; in nfs_direct_read_completion()
Dpnfs.c2405 u64 rd_size = req->wb_bytes; in pnfs_generic_pg_init_read()
/Linux-v4.19/include/linux/
Dnfs_page.h50 wb_bytes; /* Length of request */ member
Dwriteback.h79 size_t wb_bytes; /* bytes written by current wb */ member
/Linux-v4.19/fs/
Dfs-writeback.c546 wbc->wb_bytes = 0; in wbc_attach_and_unlock_inode()
613 if (wbc->wb_bytes >= wbc->wb_lcand_bytes && in wbc_detach_inode()
614 wbc->wb_bytes >= wbc->wb_tcand_bytes) { in wbc_detach_inode()
616 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
707 wbc->wb_bytes += bytes; in wbc_account_io()
/Linux-v4.19/fs/nfs/blocklayout/
Dblocklayout.c837 if (IS_ALIGNED(req->wb_bytes, alignment)) in is_aligned_req()
841 (req_offset(req) + req->wb_bytes == i_size_read(pgio->pg_inode))) { in is_aligned_req()
/Linux-v4.19/fs/nfs/flexfilelayout/
Dflexfilelayout.c1609 count += req->wb_bytes; in ff_layout_commit_record_layoutstats_done()