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()
207 ASSERT(tp); in xfs_trans_mod_dquot()
208 ASSERT(XFS_IS_QUOTA_RUNNING(tp->t_mountp)); in xfs_trans_mod_dquot()
218 ASSERT(qtrx); in xfs_trans_mod_dquot()
244 ASSERT(qtrx->qt_blk_res >= qtrx->qt_blk_res_used); in xfs_trans_mod_dquot()
259 ASSERT(qtrx->qt_ino_res >= qtrx->qt_ino_res_used); in xfs_trans_mod_dquot()
277 ASSERT(qtrx->qt_rtblk_res >= qtrx->qt_rtblk_res_used); in xfs_trans_mod_dquot()
287 ASSERT(0); in xfs_trans_mod_dquot()
304 ASSERT(q[0].qt_dquot != NULL); in xfs_trans_dqlockedjoin()
309 ASSERT(XFS_QM_TRANS_MAXDQS == 2); in xfs_trans_dqlockedjoin()
339 ASSERT(tp->t_dqinfo); in xfs_trans_apply_dquot_deltas()
359 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_apply_dquot_deltas()
360 ASSERT(dqp->q_transp == tp); in xfs_trans_apply_dquot_deltas()
386 ASSERT(be64_to_cpu(d->d_bcount) >= in xfs_trans_apply_dquot_deltas()
390 ASSERT(be64_to_cpu(d->d_rtbcount) >= in xfs_trans_apply_dquot_deltas()
394 ASSERT(be64_to_cpu(d->d_icount) >= in xfs_trans_apply_dquot_deltas()
475 ASSERT(qtrx->qt_ino_res >= in xfs_trans_apply_dquot_deltas()
487 ASSERT(dqp->q_res_bcount >= in xfs_trans_apply_dquot_deltas()
489 ASSERT(dqp->q_res_icount >= in xfs_trans_apply_dquot_deltas()
491 ASSERT(dqp->q_res_rtbcount >= in xfs_trans_apply_dquot_deltas()
618 ASSERT(flags & XFS_TRANS_DQ_RES_RTBLKS); in xfs_trans_dqresv()
702 ASSERT(tp->t_dqinfo); in xfs_trans_dqresv()
703 ASSERT(flags & XFS_QMOPT_RESBLK_MASK); in xfs_trans_dqresv()
713 ASSERT(dqp->q_res_bcount >= be64_to_cpu(dqp->q_core.d_bcount)); in xfs_trans_dqresv()
714 ASSERT(dqp->q_res_rtbcount >= be64_to_cpu(dqp->q_core.d_rtbcount)); in xfs_trans_dqresv()
715 ASSERT(dqp->q_res_icount >= be64_to_cpu(dqp->q_core.d_icount)); in xfs_trans_dqresv()
759 ASSERT(flags & XFS_QMOPT_RESBLK_MASK); in xfs_trans_reserve_quota_bydquots()
817 ASSERT(!xfs_is_quota_inode(&mp->m_sb, ip->i_ino)); in xfs_trans_reserve_quota_nblks()
819 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_reserve_quota_nblks()
820 ASSERT((flags & ~(XFS_QMOPT_FORCE_RES | XFS_QMOPT_ENOSPC)) == in xfs_trans_reserve_quota_nblks()
845 ASSERT(tp != NULL); in xfs_trans_get_qoff_item()
848 ASSERT(q != NULL); in xfs_trans_get_qoff_item()