Lines Matching full:dq
20 /* Convert a scrub type code to a DQ flag, or return 0 if error. */
75 struct xfs_dquot *dq, in xchk_quota_item() argument
94 offset = dq->q_id / qi->qi_dqperchunk; in xchk_quota_item()
95 if (dq->q_id && dq->q_id <= sqi->last_id) in xchk_quota_item()
98 sqi->last_id = dq->q_id; in xchk_quota_item()
108 if (dq->q_blk.hardlimit > mp->m_sb.sb_dblocks) in xchk_quota_item()
110 if (dq->q_blk.softlimit > dq->q_blk.hardlimit) in xchk_quota_item()
113 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
115 if (dq->q_ino.softlimit > dq->q_ino.hardlimit) in xchk_quota_item()
118 if (dq->q_rtb.hardlimit > mp->m_sb.sb_rblocks) in xchk_quota_item()
120 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) in xchk_quota_item()
132 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item()
136 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item()
140 if (dq->q_ino.count > fs_icount || dq->q_rtb.count > mp->m_sb.sb_rblocks) in xchk_quota_item()
148 if (dq->q_id == 0) in xchk_quota_item()
151 if (dq->q_blk.hardlimit != 0 && in xchk_quota_item()
152 dq->q_blk.count > dq->q_blk.hardlimit) in xchk_quota_item()
155 if (dq->q_ino.hardlimit != 0 && in xchk_quota_item()
156 dq->q_ino.count > dq->q_ino.hardlimit) in xchk_quota_item()
159 if (dq->q_rtb.hardlimit != 0 && in xchk_quota_item()
160 dq->q_rtb.count > dq->q_rtb.hardlimit) in xchk_quota_item()