Lines Matching refs:ASSERT

85 	ASSERT(! XFS_DQ_IS_ADDEDTO_TRX(tp, dqp));  in xfs_trans_dqjoin()
86 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_dqjoin()
87 ASSERT(XFS_DQ_IS_LOGITEM_INITD(dqp)); in xfs_trans_dqjoin()
120 ASSERT(XFS_DQ_IS_ADDEDTO_TRX(tp, dqp)); in xfs_trans_log_dquot()
121 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_log_dquot()
124 ASSERT(lidp != NULL); in xfs_trans_log_dquot()
199 ASSERT(tp); in xfs_trans_mod_dquot_byino()
253 ASSERT(tp); in xfs_trans_mod_dquot()
263 ASSERT(qtrx); in xfs_trans_mod_dquot()
289 ASSERT(qtrx->qt_blk_res >= qtrx->qt_blk_res_used); in xfs_trans_mod_dquot()
304 ASSERT(qtrx->qt_ino_res >= qtrx->qt_ino_res_used); in xfs_trans_mod_dquot()
322 ASSERT(qtrx->qt_rtblk_res >= qtrx->qt_rtblk_res_used); in xfs_trans_mod_dquot()
332 ASSERT(0); in xfs_trans_mod_dquot()
350 ASSERT(q[0].qt_dquot != NULL); in xfs_trans_dqlockedjoin()
355 ASSERT(XFS_QM_TRANS_MAXDQS == 2); in xfs_trans_dqlockedjoin()
385 ASSERT(tp->t_dqinfo); in xfs_trans_apply_dquot_deltas()
407 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_apply_dquot_deltas()
408 ASSERT(XFS_DQ_IS_ADDEDTO_TRX(tp, dqp)); in xfs_trans_apply_dquot_deltas()
434 ASSERT(INT_GET(d->d_bcount, ARCH_CONVERT) >= in xfs_trans_apply_dquot_deltas()
438 ASSERT(INT_GET(d->d_rtbcount, ARCH_CONVERT) >= in xfs_trans_apply_dquot_deltas()
442 ASSERT(INT_GET(d->d_icount, ARCH_CONVERT) >= in xfs_trans_apply_dquot_deltas()
523 ASSERT(qtrx->qt_ino_res >= in xfs_trans_apply_dquot_deltas()
541 ASSERT(dqp->q_res_bcount >= in xfs_trans_apply_dquot_deltas()
543 ASSERT(dqp->q_res_icount >= in xfs_trans_apply_dquot_deltas()
545 ASSERT(dqp->q_res_rtbcount >= in xfs_trans_apply_dquot_deltas()
648 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_dqresv()
659 ASSERT(flags & XFS_TRANS_DQ_RES_RTBLKS); in xfs_trans_dqresv()
750 ASSERT(tp->t_dqinfo); in xfs_trans_dqresv()
751 ASSERT(flags & XFS_QMOPT_RESBLK_MASK); in xfs_trans_dqresv()
761 ASSERT(dqp->q_res_bcount >= INT_GET(dqp->q_core.d_bcount, ARCH_CONVERT)); in xfs_trans_dqresv()
762 ASSERT(dqp->q_res_rtbcount >= INT_GET(dqp->q_core.d_rtbcount, ARCH_CONVERT)); in xfs_trans_dqresv()
763 ASSERT(dqp->q_res_icount >= INT_GET(dqp->q_core.d_icount, ARCH_CONVERT)); in xfs_trans_dqresv()
803 ASSERT(flags & XFS_QMOPT_RESBLK_MASK); in xfs_trans_reserve_quota_bydquots()
854 ASSERT(ip->i_ino != mp->m_sb.sb_uquotino); in xfs_trans_reserve_quota_nblks()
855 ASSERT(ip->i_ino != mp->m_sb.sb_gquotino); in xfs_trans_reserve_quota_nblks()
857 ASSERT(XFS_ISLOCKED_INODE_EXCL(ip)); in xfs_trans_reserve_quota_nblks()
858 ASSERT(XFS_IS_QUOTA_RUNNING(ip->i_mount)); in xfs_trans_reserve_quota_nblks()
859 ASSERT((type & ~XFS_QMOPT_FORCE_RES) == XFS_TRANS_DQ_RES_RTBLKS || in xfs_trans_reserve_quota_nblks()
883 ASSERT(tp != NULL); in xfs_trans_get_qoff_item()
886 ASSERT(q != NULL); in xfs_trans_get_qoff_item()
910 ASSERT(lidp != NULL); in xfs_trans_log_quotaoff_item()