Lines Matching defs:rmap
100 /* Look for a corresponding rmap for this irec. */
107 struct xfs_rmap_irec *rmap)
131 * range rmap lookup to make sure we get the correct owner/offset.
135 owner, offset, rflags, rmap, &has_rmap);
153 error = xfs_rmap_get_rec(info->sc->sa.rmap_cur, rmap, &has_rmap);
172 struct xfs_rmap_irec rmap;
184 /* Find the rmap record for this irec. */
185 if (!xchk_bmap_get_rmap(info, irec, agbno, owner, &rmap))
188 /* Check the rmap. */
189 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount;
190 if (rmap.rm_startblock > agbno ||
201 rmap_end = (unsigned long long)rmap.rm_offset +
202 rmap.rm_blockcount;
203 if (rmap.rm_offset > irec->br_startoff ||
209 if (rmap.rm_owner != owner)
215 * the rmap. Note that the (in-memory) CoW fork distinguishes between
216 * unwritten and written extents, but we don't track that in the rmap
222 !!(rmap.rm_flags & XFS_RMAP_UNWRITTEN))
227 !!(rmap.rm_flags & XFS_RMAP_ATTR_FORK))
230 if (rmap.rm_flags & XFS_RMAP_BMBT_BLOCK)
478 /* Can we find bmaps that fit this rmap? */
515 * However, rmap extent record lengths are constrained only by AG
517 * entire rmap is covered by bmbt records.
549 /* Make sure each rmap has a corresponding bmbt entry. */
583 /* Make sure each rmap has a corresponding bmbt entry. */
599 /* Don't support realtime rmap checks yet. */