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()
253 refchk->seen = refchk->refcount; in xchk_refcountbt_process_rmap_fragments()
272 xfs_nlink_t refcount) in xchk_refcountbt_xref_rmap() argument
278 .refcount = refcount, in xchk_refcountbt_xref_rmap()
303 if (refcount != refchk.seen) in xchk_refcountbt_xref_rmap()
319 xfs_nlink_t refcount) in xchk_refcountbt_xref() argument
326 xchk_refcountbt_xref_rmap(sc, agbno, len, refcount); in xchk_refcountbt_xref()
340 xfs_nlink_t refcount; in xchk_refcountbt_rec() local
345 refcount = be32_to_cpu(rec->refc.rc_refcount); in xchk_refcountbt_rec()
349 if ((refcount == 1 && !has_cowflag) || (refcount != 1 && has_cowflag)) in xchk_refcountbt_rec()
361 if (refcount == 0) in xchk_refcountbt_rec()
364 xchk_refcountbt_xref(bs->sc, bno, len, refcount); in xchk_refcountbt_rec()