Lines Matching refs:refcount
78 xfs_nlink_t refcount; member
110 if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { in xchk_refcountbt_rmap_check()
159 target_nr = refchk->refcount - refchk->seen; in xchk_refcountbt_process_rmap_fragments()
255 refchk->seen = refchk->refcount; in xchk_refcountbt_process_rmap_fragments()
274 xfs_nlink_t refcount) in xchk_refcountbt_xref_rmap() argument
280 .refcount = refcount, in xchk_refcountbt_xref_rmap()
305 if (refcount != refchk.seen) in xchk_refcountbt_xref_rmap()
321 xfs_nlink_t refcount) in xchk_refcountbt_xref() argument
328 xchk_refcountbt_xref_rmap(sc, agbno, len, refcount); in xchk_refcountbt_xref()
342 xfs_nlink_t refcount; in xchk_refcountbt_rec() local
347 refcount = be32_to_cpu(rec->refc.rc_refcount); in xchk_refcountbt_rec()
351 if ((refcount == 1 && !has_cowflag) || (refcount != 1 && has_cowflag)) in xchk_refcountbt_rec()
363 if (refcount == 0) in xchk_refcountbt_rec()
366 xchk_refcountbt_xref(bs->sc, bno, len, refcount); in xchk_refcountbt_rec()