Lines Matching full:dq
557 struct xfs_dquot *dq) in xqcheck_compare_dquot() argument
569 error = xfarray_load_sparse(counts, dq->q_id, &xcdq); in xqcheck_compare_dquot()
573 if (xcdq.icount != dq->q_ino.count) in xqcheck_compare_dquot()
574 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id); in xqcheck_compare_dquot()
576 if (xcdq.bcount != dq->q_blk.count) in xqcheck_compare_dquot()
577 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id); in xqcheck_compare_dquot()
579 if (xcdq.rtbcount != dq->q_rtb.count) in xqcheck_compare_dquot()
580 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id); in xqcheck_compare_dquot()
583 error = xfarray_store(counts, dq->q_id, &xcdq); in xqcheck_compare_dquot()
618 struct xfs_dquot *dq; in xqcheck_walk_observations() local
632 error = xfs_qm_dqget(xqc->sc->mp, id, dqtype, false, &dq); in xqcheck_walk_observations()
640 error = xqcheck_compare_dquot(xqc, dqtype, dq); in xqcheck_walk_observations()
641 xfs_qm_dqput(dq); in xqcheck_walk_observations()
663 struct xfs_dquot *dq; in xqcheck_compare_dqtype() local
677 while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) { in xqcheck_compare_dqtype()
678 error = xqcheck_compare_dquot(xqc, dqtype, dq); in xqcheck_compare_dqtype()
679 xfs_qm_dqput(dq); in xqcheck_compare_dqtype()