Lines Matching refs:ASSERT
44 ASSERT(dqp->q_transp != tp); in xfs_trans_dqjoin()
45 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_dqjoin()
46 ASSERT(dqp->q_logitem.qli_dquot == dqp); in xfs_trans_dqjoin()
76 ASSERT(dqp->q_transp == tp); in xfs_trans_log_dquot()
77 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_log_dquot()
213 ASSERT(tp); in xfs_trans_mod_dquot()
214 ASSERT(XFS_IS_QUOTA_RUNNING(tp->t_mountp)); in xfs_trans_mod_dquot()
224 ASSERT(qtrx); in xfs_trans_mod_dquot()
261 ASSERT(qtrx->qt_ino_res >= qtrx->qt_ino_res_used); in xfs_trans_mod_dquot()
279 ASSERT(qtrx->qt_rtblk_res >= qtrx->qt_rtblk_res_used); in xfs_trans_mod_dquot()
289 ASSERT(0); in xfs_trans_mod_dquot()
306 ASSERT(q[0].qt_dquot != NULL); in xfs_trans_dqlockedjoin()
311 ASSERT(XFS_QM_TRANS_MAXDQS == 2); in xfs_trans_dqlockedjoin()
341 ASSERT(tp->t_dqinfo); in xfs_trans_apply_dquot_deltas()
361 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_apply_dquot_deltas()
362 ASSERT(dqp->q_transp == tp); in xfs_trans_apply_dquot_deltas()
388 ASSERT(be64_to_cpu(d->d_bcount) >= in xfs_trans_apply_dquot_deltas()
392 ASSERT(be64_to_cpu(d->d_rtbcount) >= in xfs_trans_apply_dquot_deltas()
396 ASSERT(be64_to_cpu(d->d_icount) >= in xfs_trans_apply_dquot_deltas()
481 ASSERT(qtrx->qt_ino_res >= in xfs_trans_apply_dquot_deltas()
493 ASSERT(dqp->q_res_bcount >= in xfs_trans_apply_dquot_deltas()
495 ASSERT(dqp->q_res_icount >= in xfs_trans_apply_dquot_deltas()
497 ASSERT(dqp->q_res_rtbcount >= in xfs_trans_apply_dquot_deltas()
624 ASSERT(flags & XFS_TRANS_DQ_RES_RTBLKS); in xfs_trans_dqresv()
708 ASSERT(tp->t_dqinfo); in xfs_trans_dqresv()
709 ASSERT(flags & XFS_QMOPT_RESBLK_MASK); in xfs_trans_dqresv()
719 ASSERT(dqp->q_res_bcount >= be64_to_cpu(dqp->q_core.d_bcount)); in xfs_trans_dqresv()
720 ASSERT(dqp->q_res_rtbcount >= be64_to_cpu(dqp->q_core.d_rtbcount)); in xfs_trans_dqresv()
721 ASSERT(dqp->q_res_icount >= be64_to_cpu(dqp->q_core.d_icount)); in xfs_trans_dqresv()
765 ASSERT(flags & XFS_QMOPT_RESBLK_MASK); in xfs_trans_reserve_quota_bydquots()
823 ASSERT(!xfs_is_quota_inode(&mp->m_sb, ip->i_ino)); in xfs_trans_reserve_quota_nblks()
825 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_reserve_quota_nblks()
826 ASSERT((flags & ~(XFS_QMOPT_FORCE_RES | XFS_QMOPT_ENOSPC)) == in xfs_trans_reserve_quota_nblks()
851 ASSERT(tp != NULL); in xfs_trans_get_qoff_item()
854 ASSERT(q != NULL); in xfs_trans_get_qoff_item()