Lines Matching refs:irec
272 const struct xfs_refcount_irec *irec) in xchk_refcountbt_xref_rmap() argument
276 .bno = irec->rc_startblock, in xchk_refcountbt_xref_rmap()
277 .len = irec->rc_blockcount, in xchk_refcountbt_xref_rmap()
278 .refcount = irec->rc_refcount, in xchk_refcountbt_xref_rmap()
292 low.rm_startblock = irec->rc_startblock; in xchk_refcountbt_xref_rmap()
294 high.rm_startblock = irec->rc_startblock + irec->rc_blockcount - 1; in xchk_refcountbt_xref_rmap()
303 if (irec->rc_refcount != refchk.seen) in xchk_refcountbt_xref_rmap()
317 const struct xfs_refcount_irec *irec) in xchk_refcountbt_xref() argument
322 xchk_xref_is_used_space(sc, irec->rc_startblock, irec->rc_blockcount); in xchk_refcountbt_xref()
323 xchk_xref_is_not_inode_chunk(sc, irec->rc_startblock, in xchk_refcountbt_xref()
324 irec->rc_blockcount); in xchk_refcountbt_xref()
325 xchk_refcountbt_xref_rmap(sc, irec); in xchk_refcountbt_xref()
334 struct xfs_refcount_irec irec; in xchk_refcountbt_rec() local
338 xfs_refcount_btrec_to_irec(rec, &irec); in xchk_refcountbt_rec()
341 if (!xfs_refcount_check_domain(&irec)) in xchk_refcountbt_rec()
344 if (irec.rc_domain == XFS_REFC_DOMAIN_COW) in xchk_refcountbt_rec()
345 (*cow_blocks) += irec.rc_blockcount; in xchk_refcountbt_rec()
348 if (!xfs_verify_agbext(pag, irec.rc_startblock, irec.rc_blockcount)) in xchk_refcountbt_rec()
351 if (irec.rc_refcount == 0) in xchk_refcountbt_rec()
354 xchk_refcountbt_xref(bs->sc, &irec); in xchk_refcountbt_rec()