Lines Matching defs:dq
47 struct xfs_dquot *dq)
56 xfs_dqunlock(dq);
58 xfs_dqlock(dq);
62 xfs_trans_dqjoin(xqc->sc->tp, dq);
70 error = xfarray_load_sparse(counts, dq->q_id, &xcdq);
75 delta = (int64_t)xcdq.icount - dq->q_ino.count;
77 dq->q_ino.reserved += delta;
78 dq->q_ino.count += delta;
82 delta = (int64_t)xcdq.bcount - dq->q_blk.count;
84 dq->q_blk.reserved += delta;
85 dq->q_blk.count += delta;
89 delta = (int64_t)xcdq.rtbcount - dq->q_rtb.count;
91 dq->q_rtb.reserved += delta;
92 dq->q_rtb.count += delta;
97 error = xfarray_store(counts, dq->q_id, &xcdq);
111 trace_xrep_quotacheck_dquot(xqc->sc->mp, dq->q_type, dq->q_id);
114 dq->q_flags |= XFS_DQFLAG_DIRTY;
115 if (dq->q_id)
116 xfs_qm_adjust_dqtimers(dq);
117 xfs_trans_log_dquot(xqc->sc->tp, dq);
125 xfs_dqlock(dq);
134 xfs_dqlock(dq);
149 struct xfs_dquot *dq;
157 while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) {
158 error = xqcheck_commit_dquot(xqc, dqtype, dq);
159 xfs_qm_dqput(dq);
185 error = xfs_qm_dqget(mp, id, dqtype, true, &dq);
189 error = xqcheck_commit_dquot(xqc, dqtype, dq);
190 xfs_qm_dqput(dq);