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

/linux-master/include/linux/
H A Dnfs_page.h129 unsigned int pgbase,
186 * @pgbase: folio byte offset
188 * Return the page containing the byte that is at offset @pgbase relative
193 size_t pgbase)
199 return folio_page(folio, pgbase >> PAGE_SHIFT);
192 nfs_page_to_page(const struct nfs_page *req, size_t pgbase) argument
H A Dnfs_xdr.h652 unsigned int pgbase; member in struct:nfs_pgio_args
894 unsigned int pgbase; member in struct:nfs_readlinkargs
980 unsigned int pgbase; member in struct:nfs3_readlinkargs
1143 unsigned int pgbase; /* zero-copy data */ member in struct:nfs4_readdir_arg
1151 unsigned int pgbase; member in struct:nfs4_readdir_res
1157 unsigned int pgbase; member in struct:nfs4_readlink
/linux-master/fs/nfs/
H A Ddirect.c343 size_t pgbase; local
347 rsize, &pgbase);
352 npages = (result + pgbase + PAGE_SIZE - 1) / PAGE_SIZE;
355 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase);
358 pgbase, pos, req_len);
368 pgbase = 0;
857 size_t pgbase; local
861 wsize, &pgbase);
866 npages = (result + pgbase + PAGE_SIZE - 1) / PAGE_SIZE;
869 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase);
[all...]
H A Dpagelist.c473 unsigned int pgbase, pgoff_t index,
493 req->wb_pgbase = pgbase;
523 * @pgbase: starting offset within the page for the write
533 unsigned int pgbase, loff_t offset,
541 ret = nfs_page_create(l_ctx, pgbase, offset >> PAGE_SHIFT,
583 unsigned int pgbase,
590 struct page *page = nfs_page_to_page(req, pgbase);
592 ret = nfs_page_create(req->wb_lock_context, pgbase, req->wb_index,
791 * @pgbase: base
796 static void nfs_pgio_rpcsetup(struct nfs_pgio_header *hdr, unsigned int pgbase, argument
472 nfs_page_create(struct nfs_lock_context *l_ctx, unsigned int pgbase, pgoff_t index, unsigned int offset, unsigned int count) argument
531 nfs_page_create_from_page(struct nfs_open_context *ctx, struct page *page, unsigned int pgbase, loff_t offset, unsigned int count) argument
582 nfs_create_subreq(struct nfs_page *req, unsigned int pgbase, unsigned int offset, unsigned int count) argument
1399 unsigned int pgbase, offset, bytes; local
[all...]
H A Dwrite.c511 unsigned int pgbase, off, bytes; local
513 pgbase = head->wb_pgbase;
519 if (pgbase > subreq->wb_pgbase) {
520 off -= pgbase - subreq->wb_pgbase;
521 bytes += pgbase - subreq->wb_pgbase;
522 pgbase = subreq->wb_pgbase;
525 - pgbase, bytes);
529 head->wb_pgbase = pgbase;
1629 argp->pgbase += resp->count;
H A Dpnfs_dev.c137 pdev->pgbase = 0;
H A Dnfs2xdr.c596 rpc_prepare_reply_pages(req, args->pages, args->pgbase, args->pglen,
632 rpc_prepare_reply_pages(req, args->pages, args->pgbase, args->count,
664 xdr_write_pages(xdr, args->pages, args->pgbase, count);
H A Dnfs3proc.c256 unsigned int pgbase, unsigned int pglen)
261 .pgbase = pgbase,
255 nfs3_proc_readlink(struct inode *inode, struct page *page, unsigned int pgbase, unsigned int pglen) argument
H A Dproc.c188 unsigned int pgbase, unsigned int pglen)
192 .pgbase = pgbase,
187 nfs_proc_readlink(struct inode *inode, struct page *page, unsigned int pgbase, unsigned int pglen) argument
H A Dread.c264 argp->pgbase += resp->count;
H A Dnfs3xdr.c915 rpc_prepare_reply_pages(req, args->pages, args->pgbase, args->pglen,
949 rpc_prepare_reply_pages(req, args->pages, args->pgbase,
983 xdr_write_pages(xdr, args->pages, args->pgbase, args->count);
H A Dnfs4proc.c367 readdir->pgbase = (char *)p - (char *)start;
368 readdir->count -= readdir->pgbase;
4696 unsigned int pgbase, unsigned int pglen)
4700 .pgbase = pgbase,
4715 unsigned int pgbase, unsigned int pglen)
4722 err = _nfs4_proc_readlink(inode, page, pgbase, pglen);
5157 .pgbase = 0,
5178 res.pgbase = args.pgbase;
4695 _nfs4_proc_readlink(struct inode *inode, struct page *page, unsigned int pgbase, unsigned int pglen) argument
4714 nfs4_proc_readlink(struct inode *inode, struct page *page, unsigned int pgbase, unsigned int pglen) argument
5938 nfs4_write_cached_acl(struct inode *inode, struct page **pages, size_t pgbase, size_t acl_len, enum nfs4_acl_type type) argument
[all...]
H A Dpnfs.h226 unsigned int pgbase; member in struct:pnfs_device
H A Dnfs4xdr.c1776 xdr_write_pages(xdr, args->pages, args->pgbase, args->count);
2538 rpc_prepare_reply_pages(req, args->pages, args->pgbase,
2559 rpc_prepare_reply_pages(req, args->pages, args->pgbase,
2580 rpc_prepare_reply_pages(req, args->pages, args->pgbase,
3060 rpc_prepare_reply_pages(req, args->pdev->pages, args->pdev->pgbase,
H A Dnfs42xdr.c626 rpc_prepare_reply_pages(req, args->pages, args->pgbase, args->count,
/linux-master/net/sunrpc/
H A Dxdr.c387 * @pgbase: page vector address of destination
395 _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) argument
404 pgto = pages + (pgbase >> PAGE_SHIFT);
405 pgbase &= ~PAGE_MASK;
408 copy = PAGE_SIZE - pgbase;
413 memcpy(vto + pgbase, p, copy);
420 pgbase += copy;
421 if (pgbase == PAGE_SIZE) {
423 pgbase = 0;
435 * @pgbase
442 _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) argument
490 xdr_buf_pages_zero(const struct xdr_buf *buf, unsigned int pgbase, unsigned int len) argument
[all...]
/linux-master/fs/nfs/blocklayout/
H A Dblocklayout.c240 unsigned int pg_offset = header->args.pgbase, pg_len;
242 int pg_index = header->args.pgbase >> PAGE_SHIFT;
386 int pg_index = header->args.pgbase >> PAGE_SHIFT;
/linux-master/include/linux/sunrpc/
H A Dxdr.h215 extern void _copy_from_pages(char *p, struct page **pages, size_t pgbase,
/linux-master/fs/nfs/filelayout/
H A Dfilelayout.c459 dprintk("--> %s ino %lu pgbase %u req %zu@%llu\n",
461 hdr->args.pgbase, (size_t)hdr->args.count, offset);
/linux-master/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c1766 dprintk("--> %s ino %lu pgbase %u req %zu@%llu\n",
1768 hdr->args.pgbase, (size_t)hdr->args.count, offset);

Completed in 414 milliseconds