Home
last modified time | relevance | path

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

/linux-6.1.9/net/sunrpc/
Dsocklib.c93 unsigned int len, pglen = xdr->page_len; in xdr_partial_copy_from_skb() local
108 if (unlikely(pglen == 0)) in xdr_partial_copy_from_skb()
110 if (unlikely(base >= pglen)) { in xdr_partial_copy_from_skb()
111 base -= pglen; in xdr_partial_copy_from_skb()
115 pglen -= base; in xdr_partial_copy_from_skb()
138 if (pglen < len) in xdr_partial_copy_from_skb()
139 len = pglen; in xdr_partial_copy_from_skb()
143 if (pglen < len) in xdr_partial_copy_from_skb()
144 len = pglen; in xdr_partial_copy_from_skb()
153 } while ((pglen -= len) != 0); in xdr_partial_copy_from_skb()
Dxdr.c555 unsigned int pglen = 0; in xdr_buf_pages_copy_right() local
569 pglen = buf->page_len - to; in xdr_buf_pages_copy_right()
570 talen = len - pglen; in xdr_buf_pages_copy_right()
574 pglen = len; in xdr_buf_pages_copy_right()
577 buf->page_base + base + pglen, talen); in xdr_buf_pages_copy_right()
579 buf->page_base + base, pglen); in xdr_buf_pages_copy_right()
589 unsigned int pglen = 0, pgto = 0; in xdr_buf_head_copy_right() local
601 pglen = len; in xdr_buf_head_copy_right()
602 if (pgto + pglen > buf->page_len) { in xdr_buf_head_copy_right()
603 talen = pgto + pglen - buf->page_len; in xdr_buf_head_copy_right()
[all …]
/linux-6.1.9/include/trace/events/
Dfs_dax.h260 TP_PROTO(struct inode *inode, pgoff_t pgoff, pgoff_t pglen),
261 TP_ARGS(inode, pgoff, pglen),
265 __field(pgoff_t, pglen)
272 __entry->pglen = pglen;
279 __entry->pglen
/linux-6.1.9/fs/nfs/
Dfile.c281 unsigned int pglen = nfs_page_length(page); in nfs_full_page_write() local
285 return !pglen || (end >= pglen && !offset); in nfs_full_page_write()
364 unsigned pglen = nfs_page_length(page); in nfs_write_end() local
367 if (pglen == 0) { in nfs_write_end()
371 } else if (end >= pglen) { in nfs_write_end()
376 zero_user_segment(page, pglen, PAGE_SIZE); in nfs_write_end()
Dproc.c188 unsigned int pgbase, unsigned int pglen) in nfs_proc_readlink() argument
193 .pglen = pglen, in nfs_proc_readlink()
Dnfs3proc.c256 unsigned int pgbase, unsigned int pglen) in nfs3_proc_readlink() argument
262 .pglen = pglen, in nfs3_proc_readlink()
Dpnfs_dev.c138 pdev->pglen = max_resp_sz; in nfs4_get_device_info()
Ddir.c939 unsigned int pglen; in nfs_readdir_xdr_to_array() local
963 pglen = status; in nfs_readdir_xdr_to_array()
964 if (pglen != 0) in nfs_readdir_xdr_to_array()
965 status = nfs_readdir_page_filler(desc, entry, pages, pglen, in nfs_readdir_xdr_to_array()
Dpnfs.h226 unsigned int pglen; /* reply buffer length */ member
Dnfs2xdr.c596 rpc_prepare_reply_pages(req, args->pages, args->pgbase, args->pglen, in nfs2_xdr_enc_readlinkargs()
Dpnfs.c1111 lgp->args.layout.pglen = max_pages * PAGE_SIZE; in pnfs_alloc_init_layoutget_args()
1143 size_t max_pages = lgp->args.layout.pglen / PAGE_SIZE; in pnfs_layoutget_free()
Dnfs4xdr.c2372 args->lg_args->layout.pglen, in nfs4_xdr_enc_open()
2418 args->lg_args->layout.pglen, in nfs4_xdr_enc_open_noattr()
2530 args->pglen, hdr.replen - pagepad_maxsz); in nfs4_xdr_enc_readlink()
3052 args->pdev->pglen, replen); in nfs4_xdr_enc_getdeviceinfo()
3074 args->layout.pglen, hdr.replen - pagepad_maxsz); in nfs4_xdr_enc_layoutget()
Dnfs3xdr.c915 rpc_prepare_reply_pages(req, args->pages, args->pgbase, args->pglen, in nfs3_xdr_enc_readlink3args()
Dnfs4proc.c4655 unsigned int pgbase, unsigned int pglen) in _nfs4_proc_readlink() argument
4660 .pglen = pglen, in _nfs4_proc_readlink()
4674 unsigned int pgbase, unsigned int pglen) in nfs4_proc_readlink() argument
4681 err = _nfs4_proc_readlink(inode, page, pgbase, pglen); in nfs4_proc_readlink()
/linux-6.1.9/include/linux/
Dnfs_xdr.h244 __u32 pglen; member
894 unsigned int pglen; member
980 unsigned int pglen; member
1157 unsigned int pglen; /* zero-copy data */ member
/linux-6.1.9/fs/nfs/filelayout/
Dfilelayoutdev.c84 xdr_init_decode_pages(&stream, &buf, pdev->pages, pdev->pglen); in nfs4_fl_alloc_deviceid_node()
/linux-6.1.9/mm/
Dnommu.c1111 unsigned long pglen, rpglen, pgend, rpgend, start; in do_mmap() local
1113 pglen = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in do_mmap()
1114 pgend = pgoff + pglen; in do_mmap()
1138 if ((pregion->vm_pgoff != pgoff || rpglen != pglen) && in do_mmap()
Dmmap.c1007 pgoff_t pglen = (end - addr) >> PAGE_SHIFT; in vma_merge() local
1042 anon_vma, file, pgoff+pglen, in vma_merge()
1064 next->vm_pgoff - pglen, NULL, next); in vma_merge()
2526 pgoff_t pglen = len >> PAGE_SHIFT; in mmap_region() local
2571 can_vma_merge_before(next, vm_flags, NULL, file, pgoff+pglen, in mmap_region()
2575 vm_pgoff = next->vm_pgoff - pglen; in mmap_region()
/linux-6.1.9/fs/nfs/blocklayout/
Ddev.c492 xdr_init_decode_pages(&xdr, &buf, pdev->pages, pdev->pglen); in bl_alloc_deviceid_node()
/linux-6.1.9/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c71 xdr_init_decode_pages(&stream, &buf, pdev->pages, pdev->pglen); in nfs4_ff_alloc_deviceid_node()
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_fc.h537 u32 pglen:8; member
Dbfa_fcbuild.c106 prli_tmpl.pglen = 0x10; in fcbuild_init()