Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nfs/
Dpagelist.c367 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()
[all …]
Dwrite.c275 page_offset < (req->wb_pgbase + req->wb_bytes)) in nfs_page_group_search_locked()
303 pos = tmp->wb_pgbase + tmp->wb_bytes; in nfs_page_group_covers_page()
511 total_bytes = head->wb_bytes; in nfs_lock_and_join_requests()
517 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests()
542 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests()
544 ((subreq->wb_offset + subreq->wb_bytes) > in nfs_lock_and_join_requests()
570 head->wb_bytes = total_bytes; in nfs_lock_and_join_requests()
1009 bytes += req->wb_bytes; in nfs_write_completion()
1118 rqend = req->wb_offset + req->wb_bytes; in nfs_try_to_update_request()
1134 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()
Ddirect.c436 bytes += req->wb_bytes; in nfs_direct_read_completion()
670 dreq->max_count += req->wb_bytes; in nfs_direct_write_reschedule()
Dpnfs.h620 u64 req_last = req_offset(req) + req->wb_bytes; in pnfs_lseg_request_intersecting()
Dpnfs.c2475 u64 rd_size = req->wb_bytes; in pnfs_generic_pg_init_read()
/linux-4.19.296/include/linux/
Dnfs_page.h50 wb_bytes; /* Length of request */ member
Dwriteback.h79 size_t wb_bytes; /* bytes written by current wb */ member
/linux-4.19.296/fs/
Dfs-writeback.c584 wbc->wb_bytes = 0; in wbc_attach_and_unlock_inode()
654 if (wbc->wb_bytes >= wbc->wb_lcand_bytes && in wbc_detach_inode()
655 wbc->wb_bytes >= wbc->wb_tcand_bytes) { in wbc_detach_inode()
657 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
754 wbc->wb_bytes += bytes; in wbc_account_io()
/linux-4.19.296/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-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayout.c1603 count += req->wb_bytes; in ff_layout_commit_record_layoutstats_done()