Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfsd/
Dblocklayoutxdr.c110 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 …]
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()
317 int nr_iomaps; in nfsd4_scsi_proc_layoutcommit() local
319 nr_iomaps = nfsd4_scsi_decode_layoutupdate(lcp->lc_up_layout, in nfsd4_scsi_proc_layoutcommit()
321 if (nr_iomaps < 0) in nfsd4_scsi_proc_layoutcommit()
[all …]
/linux-6.1.9/include/linux/
Dexportfs.h215 int nr_iomaps, struct iattr *iattr);