Lines Matching full:dq
21 /* Convert a scrub type code to a DQ flag, or return 0 if error. */
81 struct xfs_dquot *dq, in xchk_quota_item() argument
100 offset = dq->q_id / qi->qi_dqperchunk; in xchk_quota_item()
101 if (dq->q_id && dq->q_id <= sqi->last_id) in xchk_quota_item()
104 sqi->last_id = dq->q_id; in xchk_quota_item()
114 if (dq->q_blk.hardlimit > mp->m_sb.sb_dblocks) in xchk_quota_item()
116 if (dq->q_blk.softlimit > dq->q_blk.hardlimit) in xchk_quota_item()
119 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
121 if (dq->q_ino.softlimit > dq->q_ino.hardlimit) in xchk_quota_item()
124 if (dq->q_rtb.hardlimit > mp->m_sb.sb_rblocks) in xchk_quota_item()
126 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) in xchk_quota_item()
138 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item()
142 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item()
146 if (dq->q_ino.count > fs_icount || dq->q_rtb.count > mp->m_sb.sb_rblocks) in xchk_quota_item()
154 if (dq->q_id == 0) in xchk_quota_item()
157 if (dq->q_blk.hardlimit != 0 && in xchk_quota_item()
158 dq->q_blk.count > dq->q_blk.hardlimit) in xchk_quota_item()
161 if (dq->q_ino.hardlimit != 0 && in xchk_quota_item()
162 dq->q_ino.count > dq->q_ino.hardlimit) in xchk_quota_item()
165 if (dq->q_rtb.hardlimit != 0 && in xchk_quota_item()
166 dq->q_rtb.count > dq->q_rtb.hardlimit) in xchk_quota_item()