Home
last modified time | relevance | path

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

/Linux-v5.15/fs/nfs/
Dpagelist.c463 req->wb_bytes = count; in __nfs_create_request()
651 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test()
655 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()
1071 if (req_offset(req) != req_offset(prev) + prev->wb_bytes) in nfs_coalesce_size()
1074 if (req->wb_pgbase != prev->wb_pgbase + prev->wb_bytes) in nfs_coalesce_size()
1078 prev->wb_pgbase + prev->wb_bytes != PAGE_SIZE) in nfs_coalesce_size()
1121 if (size < req->wb_bytes) in nfs_pageio_do_add_request()
1124 mirror->pg_count += req->wb_bytes; in nfs_pageio_do_add_request()
1125 return req->wb_bytes; in nfs_pageio_do_add_request()
1176 subreq_size = subreq->wb_bytes; in __nfs_pageio_add_request()
[all …]
Dread.c117 (unsigned long long)NFS_FILEID(inode), req->wb_bytes, in nfs_readpage_release()
156 unsigned long end = req->wb_pgbase + req->wb_bytes; in nfs_read_completion()
166 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion()
175 bytes += req->wb_bytes; in nfs_read_completion()
Dwrite.c342 page_offset < (req->wb_pgbase + req->wb_bytes)) in nfs_page_group_search_locked()
370 pos = tmp->wb_pgbase + tmp->wb_bytes; in nfs_page_group_covers_page()
512 bytes = head->wb_bytes; in nfs_join_page_group()
522 bytes = max(subreq->wb_pgbase + subreq->wb_bytes in nfs_join_page_group()
528 head->wb_bytes = bytes; in nfs_join_page_group()
1000 bytes += req->wb_bytes; in nfs_write_completion()
1125 rqend = req->wb_offset + req->wb_bytes; in nfs_try_to_update_request()
1141 req->wb_bytes = end - req->wb_offset; in nfs_try_to_update_request()
1143 req->wb_bytes = rqend - req->wb_offset; in nfs_try_to_update_request()
1731 if (lwb < (req_offset(req) + req->wb_bytes)) in nfs_get_lwb()
[all …]
Ddirect.c307 bytes += req->wb_bytes; in nfs_direct_read_completion()
553 dreq->max_count += req->wb_bytes; in nfs_direct_write_reschedule()
Dpnfs.h683 u64 req_last = req_offset(req) + req->wb_bytes; in pnfs_lseg_request_intersecting()
Dnfstrace.h1184 __entry->bytes = req->wb_bytes;
/Linux-v5.15/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.15/fs/
Dfs-writeback.c702 wbc->wb_bytes = 0; in wbc_attach_and_unlock_inode()
773 if (wbc->wb_bytes >= wbc->wb_lcand_bytes && in wbc_detach_inode()
774 wbc->wb_bytes >= wbc->wb_tcand_bytes) { in wbc_detach_inode()
776 max_bytes = wbc->wb_bytes; in wbc_detach_inode()
877 wbc->wb_bytes += bytes; in wbc_account_cgroup_owner()
/Linux-v5.15/fs/nfs/blocklayout/
Dblocklayout.c832 if (IS_ALIGNED(req->wb_bytes, alignment)) in is_aligned_req()
836 (req_offset(req) + req->wb_bytes == i_size_read(pgio->pg_inode))) { in is_aligned_req()
/Linux-v5.15/fs/nfs/flexfilelayout/
Dflexfilelayout.c812 req->wb_bytes, in ff_layout_pg_get_read()
900 req->wb_bytes, in ff_layout_pg_init_write()
959 req->wb_bytes, in ff_layout_pg_get_mirror_count_write()
1647 count += req->wb_bytes; in ff_layout_commit_record_layoutstats_done()