Lines Matching refs:rmap
107 struct xfs_rmap_irec *rmap) in xchk_bmap_get_rmap() argument
135 owner, offset, rflags, rmap, &has_rmap); in xchk_bmap_get_rmap()
153 error = xfs_rmap_get_rec(info->sc->sa.rmap_cur, rmap, &has_rmap); in xchk_bmap_get_rmap()
172 struct xfs_rmap_irec rmap; in xchk_bmap_xref_rmap() local
185 if (!xchk_bmap_get_rmap(info, irec, agbno, owner, &rmap)) in xchk_bmap_xref_rmap()
189 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
190 if (rmap.rm_startblock > agbno || in xchk_bmap_xref_rmap()
201 rmap_end = (unsigned long long)rmap.rm_offset + in xchk_bmap_xref_rmap()
202 rmap.rm_blockcount; in xchk_bmap_xref_rmap()
203 if (rmap.rm_offset > irec->br_startoff || in xchk_bmap_xref_rmap()
209 if (rmap.rm_owner != owner) in xchk_bmap_xref_rmap()
222 !!(rmap.rm_flags & XFS_RMAP_UNWRITTEN)) in xchk_bmap_xref_rmap()
227 !!(rmap.rm_flags & XFS_RMAP_ATTR_FORK)) in xchk_bmap_xref_rmap()
230 if (rmap.rm_flags & XFS_RMAP_BMBT_BLOCK) in xchk_bmap_xref_rmap()