Home
last modified time | relevance | path

Searched refs:refchk (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/fs/xfs/scrub/
Drefcount.c114 struct xchk_refcnt_check *refchk = priv; in xchk_refcountbt_rmap_check() local
120 if (xchk_should_terminate(refchk->sc, &error)) in xchk_refcountbt_rmap_check()
124 rc_last = refchk->bno + refchk->len - 1; in xchk_refcountbt_rmap_check()
127 if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { in xchk_refcountbt_rmap_check()
128 xchk_btree_xref_set_corrupt(refchk->sc, cur, 0); in xchk_refcountbt_rmap_check()
132 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check()
137 refchk->seen++; in xchk_refcountbt_rmap_check()
150 list_add_tail(&frag->list, &refchk->fragments); in xchk_refcountbt_rmap_check()
165 struct xchk_refcnt_check *refchk) in xchk_refcountbt_process_rmap_fragments() argument
176 target_nr = refchk->refcount - refchk->seen; in xchk_refcountbt_process_rmap_fragments()
[all …]