Lines Matching refs:ASSERT
149 ASSERT(dqp->dq_flnext == dqp->dq_flprev); in xfs_qm_dqinit()
152 ASSERT(dqp->q_trace); in xfs_qm_dqinit()
170 ASSERT(! XFS_DQ_IS_ON_FREELIST(dqp)); in xfs_qm_dqdestroy()
219 ASSERT(dqp->q_trace); in __xfs_dqtrace_entry()
264 ASSERT(!INT_ISZERO(d->d_id, ARCH_CONVERT)); in xfs_qm_adjust_dqlimits()
298 ASSERT(!INT_ISZERO(d->d_id, ARCH_CONVERT)); in xfs_qm_adjust_dqtimers()
302 ASSERT(INT_GET(d->d_blk_softlimit, ARCH_CONVERT) <= in xfs_qm_adjust_dqtimers()
305 ASSERT(INT_GET(d->d_ino_softlimit, ARCH_CONVERT) <= in xfs_qm_adjust_dqtimers()
308 ASSERT(INT_GET(d->d_rtb_softlimit, ARCH_CONVERT) <= in xfs_qm_adjust_dqtimers()
451 ASSERT(tp); in xfs_qm_init_dquot_blk()
452 ASSERT(XFS_BUF_ISBUSY(bp)); in xfs_qm_init_dquot_blk()
453 ASSERT(XFS_BUF_VALUSEMA(bp) <= 0); in xfs_qm_init_dquot_blk()
461 ASSERT(curid >= 0); in xfs_qm_init_dquot_blk()
493 ASSERT(tp != NULL); in xfs_qm_dqalloc()
527 ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB); in xfs_qm_dqalloc()
528 ASSERT(nmaps == 1); in xfs_qm_dqalloc()
529 ASSERT((map.br_startblock != DELAYSTARTBLOCK) && in xfs_qm_dqalloc()
623 ASSERT(nmaps == 1); in xfs_qm_dqtobp()
624 ASSERT(map.br_blockcount == 1); in xfs_qm_dqtobp()
638 ASSERT(tp); in xfs_qm_dqtobp()
651 ASSERT(dqp->q_blkno != DELAYSTARTBLOCK); in xfs_qm_dqtobp()
652 ASSERT(dqp->q_blkno != HOLESTARTBLOCK); in xfs_qm_dqtobp()
669 ASSERT(XFS_BUF_ISBUSY(bp)); in xfs_qm_dqtobp()
670 ASSERT(XFS_BUF_VALUSEMA(bp) <= 0); in xfs_qm_dqtobp()
726 ASSERT(INT_GET(dqp->q_core.d_id, ARCH_CONVERT) == id); in xfs_qm_dqread()
752 ASSERT(XFS_BUF_ISBUSY(bp)); in xfs_qm_dqread()
753 ASSERT(XFS_BUF_VALUSEMA(bp) <= 0); in xfs_qm_dqread()
821 ASSERT(error); in xfs_qm_idtodq()
848 ASSERT(XFS_DQ_IS_HASH_LOCKED(qh)); in xfs_qm_dqlookup()
866 ASSERT(dqp->MPL_PREVP != NULL); in xfs_qm_dqlookup()
870 ASSERT (XFS_DQ_IS_ON_FREELIST(dqp)); in xfs_qm_dqlookup()
892 ASSERT(INT_GET(dqp->q_core.d_id, ARCH_CONVERT) == id); in xfs_qm_dqlookup()
921 ASSERT(XFS_DQ_IS_HASH_LOCKED(qh)); in xfs_qm_dqlookup()
936 ASSERT(XFS_DQ_IS_HASH_LOCKED(qh)); in xfs_qm_dqlookup()
942 ASSERT(XFS_DQ_IS_HASH_LOCKED(qh)); in xfs_qm_dqlookup()
968 ASSERT(XFS_IS_QUOTA_RUNNING(mp)); in xfs_qm_dqget()
988 ASSERT(type == XFS_DQ_USER || type == XFS_DQ_GROUP); in xfs_qm_dqget()
990 ASSERT(XFS_ISLOCKED_INODE_EXCL(ip)); in xfs_qm_dqget()
992 ASSERT(ip->i_udquot == NULL); in xfs_qm_dqget()
994 ASSERT(ip->i_gdquot == NULL); in xfs_qm_dqget()
1010 ASSERT(*O_dqpp); in xfs_qm_dqget()
1011 ASSERT(XFS_DQ_IS_LOCKED(*O_dqpp)); in xfs_qm_dqget()
1058 ASSERT(id == 0); in xfs_qm_dqget()
1059 ASSERT(! ip); in xfs_qm_dqget()
1124 ASSERT(XFS_DQ_IS_HASH_LOCKED(h)); in xfs_qm_dqget()
1145 ASSERT((ip == NULL) || XFS_ISLOCKED_INODE_EXCL(ip)); in xfs_qm_dqget()
1164 ASSERT(dqp->q_nrefs > 0); in xfs_qm_dqput()
1165 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_qm_dqput()
1235 ASSERT(dqp); in xfs_qm_dqrele()
1268 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_qm_dqflush()
1269 ASSERT(XFS_DQ_IS_FLUSH_LOCKED(dqp)); in xfs_qm_dqflush()
1303 ASSERT(error != ENOENT); in xfs_qm_dqflush()
1463 ASSERT(d1 != d2); in xfs_dqlock2()
1501 ASSERT(XFS_QM_IS_MPLIST_LOCKED(mp)); in xfs_qm_dqpurge()
1502 ASSERT(XFS_DQ_IS_HASH_LOCKED(dqp->q_hash)); in xfs_qm_dqpurge()
1519 ASSERT(XFS_DQ_IS_ON_FREELIST(dqp)); in xfs_qm_dqpurge()
1556 ASSERT(dqp->q_pincount == 0); in xfs_qm_dqpurge()
1557 ASSERT(XFS_FORCED_SHUTDOWN(mp) || in xfs_qm_dqpurge()
1567 ASSERT(XFS_DQ_IS_ON_FREELIST(dqp)); in xfs_qm_dqpurge()