Lines Matching refs:imap
86 struct xfs_bmbt_irec *imap) in xfs_bmbt_to_iomap() argument
90 if (imap->br_startblock == HOLESTARTBLOCK) { in xfs_bmbt_to_iomap()
93 } else if (imap->br_startblock == DELAYSTARTBLOCK) { in xfs_bmbt_to_iomap()
98 XFS_FSB_TO_DADDR(ip->i_mount, imap->br_startblock); in xfs_bmbt_to_iomap()
99 if (imap->br_state == XFS_EXT_UNWRITTEN) 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()
122 struct xfs_bmbt_irec imap; in xfs_fs_map_blocks() local
172 &imap, &nimaps, bmapi_flags); in xfs_fs_map_blocks()
181 ASSERT(imap.br_startblock != DELAYSTARTBLOCK); in xfs_fs_map_blocks()
183 if (!nimaps || imap.br_startblock == HOLESTARTBLOCK) { in xfs_fs_map_blocks()
185 &imap, nimaps); in xfs_fs_map_blocks()
204 xfs_bmbt_to_iomap(ip, iomap, &imap); in xfs_fs_map_blocks()
220 struct xfs_bmbt_irec imap; in xfs_pnfs_validate_isize() local
226 &imap, &nimaps, 0); in xfs_pnfs_validate_isize()
231 if (imap.br_startblock == HOLESTARTBLOCK || in xfs_pnfs_validate_isize()
232 imap.br_startblock == DELAYSTARTBLOCK || in xfs_pnfs_validate_isize()
233 imap.br_state == XFS_EXT_UNWRITTEN) in xfs_pnfs_validate_isize()