Searched refs:nr_iomaps (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/fs/nfsd/ |
D | blocklayoutxdr.c | 110 u32 nr_iomaps, i; in nfsd4_block_decode_layoutupdate() local 122 nr_iomaps = be32_to_cpup(p++); in nfsd4_block_decode_layoutupdate() 123 if (nr_iomaps != len / PNFS_BLOCK_EXTENT_SIZE) { in nfsd4_block_decode_layoutupdate() 125 __func__, len, nr_iomaps); in nfsd4_block_decode_layoutupdate() 129 iomaps = kcalloc(nr_iomaps, sizeof(*iomaps), GFP_KERNEL); in nfsd4_block_decode_layoutupdate() 135 for (i = 0; i < nr_iomaps; i++) { in nfsd4_block_decode_layoutupdate() 171 return nr_iomaps; in nfsd4_block_decode_layoutupdate() 182 u32 nr_iomaps, expected, i; in nfsd4_scsi_decode_layoutupdate() local 189 nr_iomaps = be32_to_cpup(p++); in nfsd4_scsi_decode_layoutupdate() 190 expected = sizeof(__be32) + nr_iomaps * PNFS_SCSI_RANGE_SIZE; in nfsd4_scsi_decode_layoutupdate() [all …]
|
D | blocklayout.c | 121 struct iomap *iomaps, int nr_iomaps) in nfsd4_block_commit_blocks() argument 139 nr_iomaps, &iattr); in nfsd4_block_commit_blocks() 183 int nr_iomaps; in nfsd4_block_proc_layoutcommit() local 185 nr_iomaps = nfsd4_block_decode_layoutupdate(lcp->lc_up_layout, in nfsd4_block_proc_layoutcommit() 187 if (nr_iomaps < 0) in nfsd4_block_proc_layoutcommit() 188 return nfserrno(nr_iomaps); in nfsd4_block_proc_layoutcommit() 190 return nfsd4_block_commit_blocks(inode, lcp, iomaps, nr_iomaps); in nfsd4_block_proc_layoutcommit() 394 int nr_iomaps; in nfsd4_scsi_proc_layoutcommit() local 396 nr_iomaps = nfsd4_scsi_decode_layoutupdate(lcp->lc_up_layout, in nfsd4_scsi_proc_layoutcommit() 398 if (nr_iomaps < 0) in nfsd4_scsi_proc_layoutcommit() [all …]
|
/Linux-v5.15/include/linux/ |
D | exportfs.h | 215 int nr_iomaps, struct iattr *iattr);
|