Home
last modified time | relevance | path

Searched refs:iomap (Results 1 – 5 of 5) sorted by relevance

/fs/nfsd/
Dblocklayout.c55 struct iomap iomap; in nfsd4_block_proc_layoutget() local
75 &iomap, seg->iomode != IOMODE_READ, in nfsd4_block_proc_layoutget()
83 if (iomap.length < args->lg_minlength) { in nfsd4_block_proc_layoutget()
88 switch (iomap.type) { in nfsd4_block_proc_layoutget()
94 bex->soff = (iomap.blkno << 9); in nfsd4_block_proc_layoutget()
107 bex->soff = (iomap.blkno << 9); in nfsd4_block_proc_layoutget()
119 WARN(1, "pnfsd: filesystem returned %d extent\n", iomap.type); in nfsd4_block_proc_layoutget()
126 bex->foff = iomap.offset; in nfsd4_block_proc_layoutget()
127 bex->len = iomap.length; in nfsd4_block_proc_layoutget()
129 seg->offset = iomap.offset; in nfsd4_block_proc_layoutget()
[all …]
Dblocklayoutxdr.h7 struct iomap;
44 int nfsd4_block_decode_layoutupdate(__be32 *p, u32 len, struct iomap **iomapp,
Dblocklayoutxdr.c92 nfsd4_block_decode_layoutupdate(__be32 *p, u32 len, struct iomap **iomapp, in nfsd4_block_decode_layoutupdate()
95 struct iomap *iomaps; in nfsd4_block_decode_layoutupdate()
/fs/xfs/
Dxfs_pnfs.c85 struct iomap *iomap, in xfs_bmbt_to_iomap() argument
91 iomap->blkno = IOMAP_NULL_BLOCK; in xfs_bmbt_to_iomap()
92 iomap->type = IOMAP_HOLE; in xfs_bmbt_to_iomap()
94 iomap->blkno = IOMAP_NULL_BLOCK; in xfs_bmbt_to_iomap()
95 iomap->type = IOMAP_DELALLOC; in xfs_bmbt_to_iomap()
97 iomap->blkno = in xfs_bmbt_to_iomap()
100 iomap->type = IOMAP_UNWRITTEN; in xfs_bmbt_to_iomap()
102 iomap->type = IOMAP_MAPPED; in xfs_bmbt_to_iomap()
104 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); in xfs_bmbt_to_iomap()
105 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap()
[all …]
Dxfs_pnfs.h7 struct iomap *iomap, bool write, u32 *device_generation);
8 int xfs_fs_commit_blocks(struct inode *inode, struct iomap *maps, int nr_maps,