Lines Matching defs:imap
288 struct xfs_bmbt_irec imap;
333 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap))
334 cow_fsb = imap.br_startoff;
357 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap))
358 imap.br_startoff = end_fsb; /* fake a hole past EOF */
363 if (imap.br_startoff > offset_fsb) {
364 imap.br_blockcount = imap.br_startoff - offset_fsb;
365 imap.br_startoff = offset_fsb;
366 imap.br_startblock = HOLESTARTBLOCK;
367 imap.br_state = XFS_EXT_NORM;
377 cow_fsb < imap.br_startoff + imap.br_blockcount)
378 imap.br_blockcount = cow_fsb - imap.br_startoff;
381 if (imap.br_startblock != HOLESTARTBLOCK &&
382 isnullstartblock(imap.br_startblock))
385 xfs_bmbt_to_iomap(ip, &wpc->iomap, &imap, 0, 0, XFS_WPC(wpc)->data_seq);
386 trace_xfs_map_blocks_found(ip, offset, count, whichfork, &imap);
418 trace_xfs_map_blocks_alloc(ip, offset, count, whichfork, &imap);