Home
last modified time | relevance | path

Searched refs:nr_iomaps (Results 1 – 2 of 2) sorted by relevance

/fs/nfsd/
Dblocklayoutxdr.c119 u32 nr_iomaps, i; in nfsd4_block_decode_layoutupdate() local
131 nr_iomaps = be32_to_cpup(p++); in nfsd4_block_decode_layoutupdate()
132 if (nr_iomaps != len / PNFS_BLOCK_EXTENT_SIZE) { in nfsd4_block_decode_layoutupdate()
134 __func__, len, nr_iomaps); in nfsd4_block_decode_layoutupdate()
138 iomaps = kcalloc(nr_iomaps, sizeof(*iomaps), GFP_KERNEL); in nfsd4_block_decode_layoutupdate()
144 for (i = 0; i < nr_iomaps; i++) { in nfsd4_block_decode_layoutupdate()
180 return nr_iomaps; in nfsd4_block_decode_layoutupdate()
191 u32 nr_iomaps, expected, i; in nfsd4_scsi_decode_layoutupdate() local
198 nr_iomaps = be32_to_cpup(p++); in nfsd4_scsi_decode_layoutupdate()
199 expected = sizeof(__be32) + nr_iomaps * PNFS_SCSI_RANGE_SIZE; in nfsd4_scsi_decode_layoutupdate()
[all …]
Dblocklayout.c117 struct iomap *iomaps, int nr_iomaps) in nfsd4_block_commit_blocks() argument
135 nr_iomaps, &iattr); in nfsd4_block_commit_blocks()
179 int nr_iomaps; in nfsd4_block_proc_layoutcommit() local
181 nr_iomaps = nfsd4_block_decode_layoutupdate(lcp->lc_up_layout, in nfsd4_block_proc_layoutcommit()
183 if (nr_iomaps < 0) in nfsd4_block_proc_layoutcommit()
184 return nfserrno(nr_iomaps); in nfsd4_block_proc_layoutcommit()
186 return nfsd4_block_commit_blocks(inode, lcp, iomaps, nr_iomaps); in nfsd4_block_proc_layoutcommit()
318 int nr_iomaps; in nfsd4_scsi_proc_layoutcommit() local
320 nr_iomaps = nfsd4_scsi_decode_layoutupdate(lcp->lc_up_layout, in nfsd4_scsi_proc_layoutcommit()
322 if (nr_iomaps < 0) in nfsd4_scsi_proc_layoutcommit()
[all …]