Home
last modified time | relevance | path

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

/Linux-v6.6/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.c604 unsigned int pglen = 0; in xdr_buf_pages_copy_right() local
618 pglen = buf->page_len - to; in xdr_buf_pages_copy_right()
619 talen = len - pglen; in xdr_buf_pages_copy_right()
623 pglen = len; in xdr_buf_pages_copy_right()
626 buf->page_base + base + pglen, talen); in xdr_buf_pages_copy_right()
628 buf->page_base + base, pglen); in xdr_buf_pages_copy_right()
638 unsigned int pglen = 0, pgto = 0; in xdr_buf_head_copy_right() local
650 pglen = len; in xdr_buf_head_copy_right()
651 if (pgto + pglen > buf->page_len) { in xdr_buf_head_copy_right()
652 talen = pgto + pglen - buf->page_len; in xdr_buf_head_copy_right()
[all …]
/Linux-v6.6/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-v6.6/fs/nfs/
Dfile.c304 unsigned int pglen = nfs_folio_length(folio); in nfs_folio_is_full_write() local
308 return !pglen || (end >= pglen && !offset); in nfs_folio_is_full_write()
389 unsigned pglen = nfs_folio_length(folio); in nfs_write_end() local
392 if (pglen == 0) { in nfs_write_end()
395 } else if (end >= pglen) { in nfs_write_end()
400 folio_zero_segment(folio, pglen, fsize); 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.c937 unsigned int pglen; in nfs_readdir_xdr_to_array() local
961 pglen = status; in nfs_readdir_xdr_to_array()
962 if (pglen != 0) in nfs_readdir_xdr_to_array()
963 status = nfs_readdir_folio_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.c4653 unsigned int pgbase, unsigned int pglen) in _nfs4_proc_readlink() argument
4658 .pglen = pglen, in _nfs4_proc_readlink()
4672 unsigned int pgbase, unsigned int pglen) in nfs4_proc_readlink() argument
4679 err = _nfs4_proc_readlink(inode, page, pgbase, pglen); in nfs4_proc_readlink()
/Linux-v6.6/mm/
Dnommu.c1082 unsigned long pglen, rpglen, pgend, rpgend, start; in do_mmap() local
1084 pglen = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; in do_mmap()
1085 pgend = pgoff + pglen; in do_mmap()
1109 if ((pregion->vm_pgoff != pgoff || rpglen != pglen) && in do_mmap()
Dmmap.c882 pgoff_t pglen = (end - addr) >> PAGE_SHIFT; in vma_merge() local
916 can_vma_merge_before(next, vm_flags, anon_vma, file, pgoff+pglen, in vma_merge()
977 vma_pgoff = next->vm_pgoff - pglen; in vma_merge()
2669 pgoff_t pglen = len >> PAGE_SHIFT; in mmap_region() local
2717 can_vma_merge_before(next, vm_flags, NULL, file, pgoff+pglen, in mmap_region()
2721 vm_pgoff = next->vm_pgoff - pglen; in mmap_region()
/Linux-v6.6/include/linux/
Dnfs_xdr.h244 __u32 pglen; member
895 unsigned int pglen; member
981 unsigned int pglen; member
1158 unsigned int pglen; /* zero-copy data */ member
/Linux-v6.6/fs/nfs/filelayout/
Dfilelayoutdev.c84 xdr_init_decode_pages(&stream, &buf, pdev->pages, pdev->pglen); in nfs4_fl_alloc_deviceid_node()
/Linux-v6.6/fs/nfs/blocklayout/
Ddev.c494 xdr_init_decode_pages(&xdr, &buf, pdev->pages, pdev->pglen); in bl_alloc_deviceid_node()
/Linux-v6.6/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c71 xdr_init_decode_pages(&stream, &buf, pdev->pages, pdev->pglen); in nfs4_ff_alloc_deviceid_node()
/Linux-v6.6/drivers/scsi/bfa/
Dbfa_fc.h537 u32 pglen:8; member
Dbfa_fcbuild.c106 prli_tmpl.pglen = 0x10; in fcbuild_init()