Home
last modified time | relevance | path

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

/Linux-v5.4/fs/nfs/
Dpagelist.c328 req->wb_bytes = count; in __nfs_create_request()
508 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test()
512 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()
942 if (req_offset(req) != req_offset(prev) + prev->wb_bytes) in nfs_can_coalesce_requests()
945 if (req->wb_pgbase != prev->wb_pgbase + prev->wb_bytes) in nfs_can_coalesce_requests()
949 prev->wb_pgbase + prev->wb_bytes != PAGE_SIZE) in nfs_can_coalesce_requests()
954 WARN_ON_ONCE(size > req->wb_bytes); in nfs_can_coalesce_requests()
955 if (size && size < req->wb_bytes) in nfs_can_coalesce_requests()
956 req->wb_bytes = size; in nfs_can_coalesce_requests()
996 mirror->pg_count += req->wb_bytes; in nfs_pageio_do_add_request()
[all …]
Dread.c100 (unsigned long long)NFS_FILEID(inode), req->wb_bytes, in nfs_readpage_release()
170 unsigned long end = req->wb_pgbase + req->wb_bytes; in nfs_read_completion()
181 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion()
190 bytes += req->wb_bytes; in nfs_read_completion()
Dwrite.c276 page_offset < (req->wb_pgbase + req->wb_bytes)) in nfs_page_group_search_locked()
304 pos = tmp->wb_pgbase + tmp->wb_bytes; in nfs_page_group_covers_page()
505 total_bytes = head->wb_bytes; in nfs_lock_and_join_requests()
511 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests()
536 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests()
538 ((subreq->wb_offset + subreq->wb_bytes) > in nfs_lock_and_join_requests()
564 head->wb_bytes = total_bytes; in nfs_lock_and_join_requests()
997 bytes += req->wb_bytes; in nfs_write_completion()
1122 rqend = req->wb_offset + req->wb_bytes; in nfs_try_to_update_request()
1138 req->wb_bytes = end - req->wb_offset; in nfs_try_to_update_request()
[all …]
Ddirect.c407 bytes += req->wb_bytes; in nfs_direct_read_completion()
635 dreq->max_count += req->wb_bytes; in nfs_direct_write_reschedule()
Dpnfs.h623 u64 req_last = req_offset(req) + req->wb_bytes; in pnfs_lseg_request_intersecting()
Dpnfs.c2494 u64 rd_size = req->wb_bytes; in pnfs_generic_pg_init_read()
/Linux-v5.4/include/linux/
Dnfs_page.h49 wb_bytes; /* Length of request */ member
Dwriteback.h91 size_t wb_bytes; /* bytes written by current wb */ member
/Linux-v5.4/fs/
Dfs-writeback.c571 wbc->wb_bytes = 0; in wbc_attach_and_unlock_inode()
642 if (wbc->wb_bytes >= wbc->wb_lcand_bytes && in wbc_detach_inode()
643 wbc->wb_bytes >= wbc->wb_tcand_bytes) { in wbc_detach_inode()
645 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
746 wbc->wb_bytes += bytes; in wbc_account_cgroup_owner()
/Linux-v5.4/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-v5.4/fs/nfs/flexfilelayout/
Dflexfilelayout.c1681 count += req->wb_bytes; in ff_layout_commit_record_layoutstats_done()