Lines Matching full:dq
555 struct xfs_dquot *dq) in xqcheck_compare_dquot() argument
567 error = xfarray_load_sparse(counts, dq->q_id, &xcdq); in xqcheck_compare_dquot()
571 if (xcdq.icount != dq->q_ino.count) in xqcheck_compare_dquot()
572 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id); in xqcheck_compare_dquot()
574 if (xcdq.bcount != dq->q_blk.count) in xqcheck_compare_dquot()
575 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id); in xqcheck_compare_dquot()
577 if (xcdq.rtbcount != dq->q_rtb.count) in xqcheck_compare_dquot()
578 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id); in xqcheck_compare_dquot()
581 error = xfarray_store(counts, dq->q_id, &xcdq); in xqcheck_compare_dquot()
616 struct xfs_dquot *dq; in xqcheck_walk_observations() local
630 error = xfs_qm_dqget(xqc->sc->mp, id, dqtype, false, &dq); in xqcheck_walk_observations()
638 error = xqcheck_compare_dquot(xqc, dqtype, dq); in xqcheck_walk_observations()
639 xfs_qm_dqput(dq); in xqcheck_walk_observations()
661 struct xfs_dquot *dq; in xqcheck_compare_dqtype() local
675 while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) { in xqcheck_compare_dqtype()
676 error = xqcheck_compare_dquot(xqc, dqtype, dq); in xqcheck_compare_dqtype()
677 xfs_qm_dqput(dq); in xqcheck_compare_dqtype()