Lines Matching defs:imap
2308 * Return the location of the inode in imap, for mapping it into a buffer.
2315 struct xfs_imap *imap, /* location map structure */
2389 imap->im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno);
2390 imap->im_len = XFS_FSB_TO_BB(mp, 1);
2391 imap->im_boffset = (unsigned short)(offset <<
2419 imap->im_blkno = XFS_AGB_TO_DADDR(mp, agno, cluster_agbno);
2420 imap->im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster);
2421 imap->im_boffset = (unsigned short)(offset << mp->m_sb.sb_inodelog);
2429 if ((imap->im_blkno + imap->im_len) >
2433 __func__, (unsigned long long) imap->im_blkno,
2434 (unsigned long long) imap->im_len,