Lines Matching defs:xqc
45 struct xqcheck *xqc,
50 struct xfarray *counts = xqcheck_counters_for(xqc, dqtype);
55 error = xchk_trans_alloc(xqc->sc, 0);
60 xfs_trans_dqjoin(xqc->sc->tp, dq);
62 if (xchk_iscan_aborted(&xqc->iscan)) {
67 mutex_lock(&xqc->lock);
105 mutex_unlock(&xqc->lock);
109 trace_xrep_quotacheck_dquot(xqc->sc->mp, dq->q_type, dq->q_id);
115 xfs_trans_log_dquot(xqc->sc->tp, dq);
116 return xrep_trans_commit(xqc->sc);
119 mutex_unlock(&xqc->lock);
121 xchk_trans_cancel(xqc->sc);
128 struct xqcheck *xqc,
133 struct xfs_scrub *sc = xqc->sc;
135 struct xfarray *counts = xqcheck_counters_for(xqc, dqtype);
145 error = xqcheck_commit_dquot(xqc, dqtype, dq);
157 mutex_lock(&xqc->lock);
164 mutex_unlock(&xqc->lock);
176 error = xqcheck_commit_dquot(xqc, dqtype, dq);
181 mutex_lock(&xqc->lock);
183 mutex_unlock(&xqc->lock);
209 struct xqcheck *xqc = sc->buf;
225 if (xqc->ucounts) {
226 error = xqcheck_commit_dqtype(xqc, XFS_DQTYPE_USER);
230 if (xqc->gcounts) {
231 error = xqcheck_commit_dqtype(xqc, XFS_DQTYPE_GROUP);
235 if (xqc->pcounts) {
236 error = xqcheck_commit_dqtype(xqc, XFS_DQTYPE_PROJ);