Home
last modified time | relevance | path

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

/linux-4.1.27/fs/nfs/
Dpagelist.c383 req->wb_bytes = count; in nfs_create_request()
510 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test()
514 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()
948 if (req_offset(req) != req_offset(prev) + prev->wb_bytes) in nfs_can_coalesce_requests()
951 if (req->wb_pgbase != prev->wb_pgbase + prev->wb_bytes) in nfs_can_coalesce_requests()
955 prev->wb_pgbase + prev->wb_bytes != PAGE_CACHE_SIZE) in nfs_can_coalesce_requests()
960 WARN_ON_ONCE(size > req->wb_bytes); in nfs_can_coalesce_requests()
961 if (size && size < req->wb_bytes) in nfs_can_coalesce_requests()
962 req->wb_bytes = size; in nfs_can_coalesce_requests()
992 mirror->pg_count += req->wb_bytes; in nfs_pageio_do_add_request()
[all …]
Dread.c126 (unsigned long long)NFS_FILEID(inode), req->wb_bytes, in nfs_readpage_release()
154 unsigned long end = req->wb_pgbase + req->wb_bytes; in nfs_read_completion()
165 } else if (hdr->good_bytes - bytes < req->wb_bytes) { in nfs_read_completion()
173 bytes += req->wb_bytes; in nfs_read_completion()
Dwrite.c193 page_offset < (req->wb_pgbase + req->wb_bytes)) in nfs_page_group_search_locked()
222 pos += tmp->wb_bytes - (pos - tmp->wb_pgbase); in nfs_page_group_covers_page()
480 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests()
482 ((subreq->wb_offset + subreq->wb_bytes) > in nfs_lock_and_join_requests()
520 head->wb_bytes = total_bytes; in nfs_lock_and_join_requests()
893 bytes += req->wb_bytes; in nfs_write_completion()
1006 rqend = req->wb_offset + req->wb_bytes; in nfs_try_to_update_request()
1035 req->wb_bytes = end - req->wb_offset; in nfs_try_to_update_request()
1037 req->wb_bytes = rqend - req->wb_offset; in nfs_try_to_update_request()
1586 if (lwb < (req_offset(req) + req->wb_bytes)) in nfs_get_lwb()
[all …]
Ddirect.c404 req->wb_bytes, in nfs_direct_readpage_release()
431 bytes += req->wb_bytes; in nfs_direct_read_completion()
Dpnfs.c1716 u64 rd_size = req->wb_bytes; in pnfs_generic_pg_init_read()
/linux-4.1.27/include/linux/
Dnfs_page.h47 wb_bytes; /* Length of request */ member
/linux-4.1.27/fs/nfs/objlayout/
Dobjio_osd.c545 if (!size || mirror->pg_count + req->wb_bytes > in objio_pg_test()
549 return min(size, req->wb_bytes); in objio_pg_test()
/linux-4.1.27/fs/nfs/blocklayout/
Dblocklayout.c763 if (IS_ALIGNED(req->wb_bytes, alignment)) in is_aligned_req()
766 if (req_offset(req) + req->wb_bytes == i_size_read(pgio->pg_inode)) { in is_aligned_req()