Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Drefcount.c102 struct xchk_refcnt_check *refchk = priv; in xchk_refcountbt_rmap_check() local
108 if (xchk_should_terminate(refchk->sc, &error)) in xchk_refcountbt_rmap_check()
112 rc_last = refchk->bno + refchk->len - 1; in xchk_refcountbt_rmap_check()
115 if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { in xchk_refcountbt_rmap_check()
116 xchk_btree_xref_set_corrupt(refchk->sc, cur, 0); in xchk_refcountbt_rmap_check()
120 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check()
125 refchk->seen++; in xchk_refcountbt_rmap_check()
138 list_add_tail(&frag->list, &refchk->fragments); in xchk_refcountbt_rmap_check()
153 struct xchk_refcnt_check *refchk) in xchk_refcountbt_process_rmap_fragments()
152 xchk_refcountbt_process_rmap_fragments( struct xchk_refcnt_check *refchk) xchk_refcountbt_process_rmap_fragments() argument
277 struct xchk_refcnt_check refchk = { xchk_refcountbt_xref_rmap() local
[all...]
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Drefcount.c97 struct xchk_refcnt_check *refchk = priv; in xchk_refcountbt_rmap_check() local
103 if (xchk_should_terminate(refchk->sc, &error)) in xchk_refcountbt_rmap_check()
107 rc_last = refchk->bno + refchk->len - 1; in xchk_refcountbt_rmap_check()
110 if (refchk->refcount == 1 && rec->rm_owner != XFS_RMAP_OWN_COW) { in xchk_refcountbt_rmap_check()
111 xchk_btree_xref_set_corrupt(refchk->sc, cur, 0); in xchk_refcountbt_rmap_check()
115 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check()
120 refchk->seen++; in xchk_refcountbt_rmap_check()
133 list_add_tail(&frag->list, &refchk->fragments); in xchk_refcountbt_rmap_check()
148 struct xchk_refcnt_check *refchk) in xchk_refcountbt_process_rmap_fragments()
147 xchk_refcountbt_process_rmap_fragments( struct xchk_refcnt_check *refchk) xchk_refcountbt_process_rmap_fragments() argument
274 struct xchk_refcnt_check refchk = { xchk_refcountbt_xref_rmap() local
[all...]

Completed in 1 milliseconds