Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/scrub/
H A Dquotacheck_repair.c49 struct xqcheck_dquot xcdq; in xqcheck_commit_dquot() local
70 error = xfarray_load_sparse(counts, dq->q_id, &xcdq); in xqcheck_commit_dquot()
75 delta = (int64_t)xcdq.icount - dq->q_ino.count; in xqcheck_commit_dquot()
82 delta = (int64_t)xcdq.bcount - dq->q_blk.count; in xqcheck_commit_dquot()
89 delta = (int64_t)xcdq.rtbcount - dq->q_rtb.count; in xqcheck_commit_dquot()
96 xcdq.flags |= (XQCHECK_DQUOT_REPAIR_SCANNED | XQCHECK_DQUOT_WRITTEN); in xqcheck_commit_dquot()
97 error = xfarray_store(counts, dq->q_id, &xcdq); in xqcheck_commit_dquot()
145 struct xqcheck_dquot xcdq; in xqcheck_commit_dqtype() local
171 while ((error = xfarray_iter(counts, &cur, &xcdq)) == 1) { in xqcheck_commit_dqtype()
174 if (xcdq.flags & XQCHECK_DQUOT_REPAIR_SCANNED) in xqcheck_commit_dqtype()
H A Dquotacheck.c136 struct xqcheck_dquot xcdq; in xqcheck_update_incore_counts() local
143 xcdq.flags |= XQCHECK_DQUOT_WRITTEN; in xqcheck_update_incore_counts()
144 xcdq.icount += inodes; in xqcheck_update_incore_counts()
145 xcdq.bcount += nblks; in xqcheck_update_incore_counts()
146 xcdq.rtbcount += rtblks; in xqcheck_update_incore_counts()
148 error = xfarray_store(counts, id, &xcdq); in xqcheck_update_incore_counts()
559 struct xqcheck_dquot xcdq; in xqcheck_compare_dquot() local
573 if (xcdq.icount != dq->q_ino.count) in xqcheck_compare_dquot()
576 if (xcdq.bcount != dq->q_blk.count) in xqcheck_compare_dquot()
579 if (xcdq.rtbcount != dq->q_rtb.count) in xqcheck_compare_dquot()
[all …]