Lines Matching refs:cmap
309 struct xfs_bmbt_irec *cmap,
323 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap))
324 cmap->br_startoff = offset_fsb + count_fsb;
325 if (cmap->br_startoff > offset_fsb) {
327 cmap->br_startoff - imap->br_startoff);
332 if (isnullstartblock(cmap->br_startblock)) {
333 xfs_trim_extent(imap, cmap->br_startoff, cmap->br_blockcount);
338 xfs_trim_extent(cmap, offset_fsb, count_fsb);
348 struct xfs_bmbt_irec *cmap,
368 error = xfs_find_trim_cow_extent(ip, imap, cmap, shared, &found);
393 error = xfs_find_trim_cow_extent(ip, imap, cmap, shared, &found);
411 XFS_BMAPI_COWFORK | XFS_BMAPI_PREALLOC, 0, cmap,
428 xfs_trim_extent(cmap, offset_fsb, count_fsb);
434 if (!convert_now || cmap->br_state == XFS_EXT_NORM)
436 trace_xfs_reflink_convert_cow(ip, cmap);