Home
last modified time | relevance | path

Searched refs:pgbase (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/fs/nfs/
Ddirect.c366 size_t pgbase; in nfs_direct_read_schedule_iovec() local
370 rsize, &pgbase); in nfs_direct_read_schedule_iovec()
376 npages = (result + pgbase + PAGE_SIZE - 1) / PAGE_SIZE; in nfs_direct_read_schedule_iovec()
379 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase); in nfs_direct_read_schedule_iovec()
382 pgbase, req_len); in nfs_direct_read_schedule_iovec()
394 pgbase = 0; in nfs_direct_read_schedule_iovec()
813 size_t pgbase; in nfs_direct_write_schedule_iovec() local
817 wsize, &pgbase); in nfs_direct_write_schedule_iovec()
823 npages = (result + pgbase + PAGE_SIZE - 1) / PAGE_SIZE; in nfs_direct_write_schedule_iovec()
826 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase); in nfs_direct_write_schedule_iovec()
[all …]
Dpagelist.c436 unsigned int pgbase, unsigned int offset, in __nfs_create_request() argument
462 req->wb_pgbase = pgbase; in __nfs_create_request()
498 unsigned int pgbase, in nfs_create_subreq() argument
506 pgbase, offset, count); in nfs_create_subreq()
718 hdr->args.pgbase = req->wb_pgbase; in nfs_pgio_rpcsetup()
1288 unsigned int pgbase, offset, bytes; in nfs_pageio_add_request() local
1291 pgbase = req->wb_pgbase; in nfs_pageio_add_request()
1304 pgbase, offset, bytes); in nfs_pageio_add_request()
Dwrite.c509 unsigned int pgbase, off, bytes; in nfs_join_page_group() local
511 pgbase = head->wb_pgbase; in nfs_join_page_group()
517 if (pgbase > subreq->wb_pgbase) { in nfs_join_page_group()
518 off -= pgbase - subreq->wb_pgbase; in nfs_join_page_group()
519 bytes += pgbase - subreq->wb_pgbase; in nfs_join_page_group()
520 pgbase = subreq->wb_pgbase; in nfs_join_page_group()
523 - pgbase, bytes); in nfs_join_page_group()
527 head->wb_pgbase = pgbase; in nfs_join_page_group()
1641 argp->pgbase += resp->count; in nfs_writeback_result()
Dproc.c188 unsigned int pgbase, unsigned int pglen) in nfs_proc_readlink() argument
192 .pgbase = pgbase, in nfs_proc_readlink()
Dnfs2xdr.c595 rpc_prepare_reply_pages(req, args->pages, args->pgbase, in nfs2_xdr_enc_readlinkargs()
631 rpc_prepare_reply_pages(req, args->pages, args->pgbase, in nfs2_xdr_enc_readargs()
663 xdr_write_pages(xdr, args->pages, args->pgbase, count); in encode_writeargs()
Dnfs3proc.c232 unsigned int pgbase, unsigned int pglen) in nfs3_proc_readlink() argument
237 .pgbase = pgbase, in nfs3_proc_readlink()
Dpnfs_dev.c135 pdev->pgbase = 0; in nfs4_get_device_info()
Dnfstrace.h1173 __field(unsigned int, pgbase)
1182 __entry->pgbase = req->wb_pgbase;
1190 __entry->pgbase, __entry->bytes, __entry->error
Dread.c284 argp->pgbase += resp->count; in nfs_readpage_retry()
Dnfs3xdr.c912 rpc_prepare_reply_pages(req, args->pages, args->pgbase, in nfs3_xdr_enc_readlink3args()
945 rpc_prepare_reply_pages(req, args->pages, args->pgbase, in nfs3_xdr_enc_read3args()
979 xdr_write_pages(xdr, args->pages, args->pgbase, args->count); in encode_write3args()
Dnfs4proc.c366 readdir->pgbase = (char *)p - (char *)start; in nfs4_setup_readdir()
367 readdir->count -= readdir->pgbase; in nfs4_setup_readdir()
4500 unsigned int pgbase, unsigned int pglen) in _nfs4_proc_readlink() argument
4504 .pgbase = pgbase, in _nfs4_proc_readlink()
4519 unsigned int pgbase, unsigned int pglen) in nfs4_proc_readlink() argument
4526 err = _nfs4_proc_readlink(inode, page, pgbase, pglen); in nfs4_proc_readlink()
4967 .pgbase = 0, in _nfs4_proc_readdir()
4985 res.pgbase = args.pgbase; in _nfs4_proc_readdir()
4989 status += args.pgbase; in _nfs4_proc_readdir()
5726 static void nfs4_write_cached_acl(struct inode *inode, struct page **pages, size_t pgbase, size_t a… in nfs4_write_cached_acl() argument
[all …]
Dpnfs.h224 unsigned int pgbase; member
Dnfs4xdr.c1739 xdr_write_pages(xdr, args->pages, args->pgbase, args->count); in encode_write()
2501 rpc_prepare_reply_pages(req, args->pages, args->pgbase, in nfs4_xdr_enc_readlink()
2522 rpc_prepare_reply_pages(req, args->pages, args->pgbase, in nfs4_xdr_enc_readdir()
2543 rpc_prepare_reply_pages(req, args->pages, args->pgbase, in nfs4_xdr_enc_read()
3019 rpc_prepare_reply_pages(req, args->pdev->pages, args->pdev->pgbase, in nfs4_xdr_enc_getdeviceinfo()
Dnfs42xdr.c769 rpc_prepare_reply_pages(req, args->pages, args->pgbase, in nfs4_xdr_enc_read_plus()
/Linux-v5.10/net/sunrpc/
Dxdr.c405 _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) in _copy_to_pages() argument
411 pgto = pages + (pgbase >> PAGE_SHIFT); in _copy_to_pages()
412 pgbase &= ~PAGE_MASK; in _copy_to_pages()
415 copy = PAGE_SIZE - pgbase; in _copy_to_pages()
420 memcpy(vto + pgbase, p, copy); in _copy_to_pages()
427 pgbase += copy; in _copy_to_pages()
428 if (pgbase == PAGE_SIZE) { in _copy_to_pages()
430 pgbase = 0; in _copy_to_pages()
449 _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) in _copy_from_pages() argument
455 pgfrom = pages + (pgbase >> PAGE_SHIFT); in _copy_from_pages()
[all …]
/Linux-v5.10/include/linux/
Dnfs_xdr.h646 unsigned int pgbase; member
865 unsigned int pgbase; member
951 unsigned int pgbase; member
1119 unsigned int pgbase; /* zero-copy data */ member
1127 unsigned int pgbase; member
1133 unsigned int pgbase; member
/Linux-v5.10/fs/nfs/blocklayout/
Dblocklayout.c263 unsigned int pg_offset = header->args.pgbase, pg_len; in bl_read_pagelist()
265 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_read_pagelist()
409 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_write_pagelist()
/Linux-v5.10/include/linux/sunrpc/
Dxdr.h207 extern void _copy_from_pages(char *p, struct page **pages, size_t pgbase,
/Linux-v5.10/fs/nfs/filelayout/
Dfilelayout.c461 hdr->args.pgbase, (size_t)hdr->args.count, offset); in filelayout_read_pagelist()
/Linux-v5.10/fs/nfs/flexfilelayout/
Dflexfilelayout.c1762 hdr->args.pgbase, (size_t)hdr->args.count, offset); in ff_layout_read_pagelist()