Home
last modified time | relevance | path

Searched refs:pglen (Results 1 – 14 of 14) sorted by relevance

/fs/nfs/
Dread.c85 unsigned int pglen; in nfs_readpage_truncate_uninitialised_page() local
96 pglen = PAGE_CACHE_SIZE - base; in nfs_readpage_truncate_uninitialised_page()
98 if (remainder <= pglen) { in nfs_readpage_truncate_uninitialised_page()
102 zero_user(*pages, base, pglen); in nfs_readpage_truncate_uninitialised_page()
104 remainder -= pglen; in nfs_readpage_truncate_uninitialised_page()
105 pglen = PAGE_CACHE_SIZE; in nfs_readpage_truncate_uninitialised_page()
Dfile.c316 unsigned int pglen = nfs_page_length(page); in nfs_want_read_modify_write() local
323 pglen && /* valid bytes of file? */ in nfs_want_read_modify_write()
324 (end < pglen || offset)) /* replace all valid bytes? */ in nfs_want_read_modify_write()
398 unsigned pglen = nfs_page_length(page); in nfs_write_end() local
401 if (pglen == 0) { in nfs_write_end()
405 } else if (end >= pglen) { in nfs_write_end()
410 zero_user_segment(page, pglen, PAGE_CACHE_SIZE); in nfs_write_end()
Dnfs2xdr.c597 args->pglen, NFS_readlinkres_sz); in nfs2_xdr_enc_readlinkargs()
972 u32 recvd, pglen; in decode_readdirok() local
975 pglen = xdr->buf->page_len; in decode_readdirok()
978 if (unlikely(pglen > recvd)) in decode_readdirok()
981 xdr_read_pages(xdr, pglen); in decode_readdirok()
982 return pglen; in decode_readdirok()
985 "pglen %u > recvd %u\n", pglen, recvd); in decode_readdirok()
986 pglen = recvd; in decode_readdirok()
Dnfs3xdr.c934 args->pglen, NFS3_readlinkres_sz); in nfs3_xdr_enc_readlink3args()
2037 u32 recvd, pglen; in decode_dirlist3() local
2040 pglen = xdr->buf->page_len; in decode_dirlist3()
2043 if (unlikely(pglen > recvd)) in decode_dirlist3()
2046 xdr_read_pages(xdr, pglen); in decode_dirlist3()
2047 return pglen; in decode_dirlist3()
2050 "pglen %u > recvd %u\n", pglen, recvd); in decode_dirlist3()
2051 pglen = recvd; in decode_dirlist3()
Dproc.c208 unsigned int pgbase, unsigned int pglen) in nfs_proc_readlink() argument
213 .pglen = pglen, in nfs_proc_readlink()
Dnfs3proc.c236 unsigned int pgbase, unsigned int pglen) in nfs3_proc_readlink() argument
242 .pglen = pglen, in nfs3_proc_readlink()
Dnfs4filelayoutdev.c523 xdr_init_decode_pages(&stream, &buf, pdev->pages, pdev->pglen); in decode_device()
725 pdev->pglen = PAGE_SIZE * max_pages; in get_device_info()
Dpnfs.h144 unsigned int pglen; member
Ddir.c649 unsigned int pglen; in nfs_readdir_xdr_to_array() local
654 pglen = status; in nfs_readdir_xdr_to_array()
655 status = nfs_readdir_page_filler(desc, &entry, pages, page, pglen); in nfs_readdir_xdr_to_array()
Dnfs4xdr.c1866 *p++ = cpu_to_be32(args->pdev->pglen); /* gdia_maxcount */ in encode_getdeviceinfo()
2338 args->pgbase, args->pglen); in nfs4_xdr_enc_readlink()
2789 args->pdev->pglen); in nfs4_xdr_enc_getdeviceinfo()
2811 args->layout.pages, 0, args->layout.pglen); in nfs4_xdr_enc_layoutget()
4790 u32 recvd, pglen = rcvbuf->page_len; in decode_readdir() local
4805 if (pglen > recvd) in decode_readdir()
4806 pglen = recvd; in decode_readdir()
4807 xdr_read_pages(xdr, pglen); in decode_readdir()
4810 return pglen; in decode_readdir()
Dnfs4proc.c2713 unsigned int pgbase, unsigned int pglen) in _nfs4_proc_readlink() argument
2718 .pglen = pglen, in _nfs4_proc_readlink()
2732 unsigned int pgbase, unsigned int pglen) in nfs4_proc_readlink() argument
2738 _nfs4_proc_readlink(inode, page, pgbase, pglen), in nfs4_proc_readlink()
6087 lgp->args.layout.pglen = max_pages * PAGE_SIZE; in nfs4_proc_layoutget()
/fs/exofs/
Dore.c604 unsigned pglen = min_t(unsigned, PAGE_SIZE - pgbase, cur_len); in _ore_add_stripe_unit() local
607 cur_len -= pglen; in _ore_add_stripe_unit()
610 pglen, pgbase); in _ore_add_stripe_unit()
611 if (unlikely(pglen != added_len)) { in _ore_add_stripe_unit()
/fs/nfs/objlayout/
Dobjlayout.c622 pd.pglen = PAGE_SIZE; in objlayout_get_deviceinfo()
/fs/nfs/blocklayout/
Dblocklayout.c1052 dev->pglen = PAGE_SIZE * max_pages; in nfs4_blk_get_deviceinfo()