Lines Matching defs:smap
1157 struct xfs_bmbt_irec smap;
1203 * Read what's currently mapped in the destination file into smap.
1204 * If smap isn't a hole, we will have to remove it before we can add
1209 &smap, &nimaps, 0);
1212 ASSERT(nimaps == 1 && smap.br_startoff == dmap->br_startoff);
1213 smap_real = xfs_bmap_is_real_extent(&smap);
1219 dmap->br_blockcount = min(dmap->br_blockcount, smap.br_blockcount);
1220 ASSERT(dmap->br_blockcount == smap.br_blockcount);
1222 trace_xfs_reflink_remap_extent_dest(ip, &smap);
1229 if (dmap->br_startblock == smap.br_startblock) {
1230 if (dmap->br_state != smap.br_state)
1237 smap.br_state == XFS_EXT_UNWRITTEN)
1294 xfs_bmap_unmap_extent(tp, ip, &smap);
1295 xfs_refcount_decrease_extent(tp, &smap);
1296 qdelta -= smap.br_blockcount;
1297 } else if (smap.br_startblock == DELAYSTARTBLOCK) {
1306 error = xfs_bunmapi(NULL, ip, smap.br_startoff,
1307 smap.br_blockcount, 0, 1, &done);