Home
last modified time | relevance | path

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

/fs/nfsd/
Dblocklayoutxdr.c118 struct iomap *iomaps; in nfsd4_block_decode_layoutupdate() local
138 iomaps = kcalloc(nr_iomaps, sizeof(*iomaps), GFP_KERNEL); in nfsd4_block_decode_layoutupdate()
139 if (!iomaps) { in nfsd4_block_decode_layoutupdate()
175 iomaps[i].offset = bex.foff; in nfsd4_block_decode_layoutupdate()
176 iomaps[i].length = bex.len; in nfsd4_block_decode_layoutupdate()
179 *iomapp = iomaps; in nfsd4_block_decode_layoutupdate()
182 kfree(iomaps); in nfsd4_block_decode_layoutupdate()
190 struct iomap *iomaps; in nfsd4_scsi_decode_layoutupdate() local
206 iomaps = kcalloc(nr_iomaps, sizeof(*iomaps), GFP_KERNEL); in nfsd4_scsi_decode_layoutupdate()
207 if (!iomaps) { in nfsd4_scsi_decode_layoutupdate()
[all …]
Dblocklayout.c121 struct iomap *iomaps, int nr_iomaps) in nfsd4_block_commit_blocks() argument
138 error = inode->i_sb->s_export_op->commit_blocks(inode, iomaps, in nfsd4_block_commit_blocks()
140 kfree(iomaps); in nfsd4_block_commit_blocks()
182 struct iomap *iomaps; in nfsd4_block_proc_layoutcommit() local
186 lcp->lc_up_len, &iomaps, i_blocksize(inode)); in nfsd4_block_proc_layoutcommit()
190 return nfsd4_block_commit_blocks(inode, lcp, iomaps, nr_iomaps); in nfsd4_block_proc_layoutcommit()
393 struct iomap *iomaps; in nfsd4_scsi_proc_layoutcommit() local
397 lcp->lc_up_len, &iomaps, i_blocksize(inode)); in nfsd4_scsi_proc_layoutcommit()
401 return nfsd4_block_commit_blocks(inode, lcp, iomaps, nr_iomaps); in nfsd4_scsi_proc_layoutcommit()