Lines Matching defs:dq
554 struct xfs_dquot *dq)
566 error = xfarray_load_sparse(counts, dq->q_id, &xcdq);
570 if (xcdq.icount != dq->q_ino.count)
571 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id);
573 if (xcdq.bcount != dq->q_blk.count)
574 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id);
576 if (xcdq.rtbcount != dq->q_rtb.count)
577 xchk_qcheck_set_corrupt(xqc->sc, dqtype, dq->q_id);
580 error = xfarray_store(counts, dq->q_id, &xcdq);
615 struct xfs_dquot *dq;
629 error = xfs_qm_dqget(xqc->sc->mp, id, dqtype, false, &dq);
637 error = xqcheck_compare_dquot(xqc, dqtype, dq);
638 xfs_qm_dqput(dq);
660 struct xfs_dquot *dq;
674 while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) {
675 error = xqcheck_compare_dquot(xqc, dqtype, dq);
676 xfs_qm_dqput(dq);