Lines Matching refs:ASSERT

127 	ASSERT(atomic_read(&bip->bli_refcount) > 0);  in xfs_buf_item_size()
135 ASSERT(bip->__bli_format.blf_flags & XFS_BLF_CANCEL); in xfs_buf_item_size()
143 ASSERT(bip->bli_flags & XFS_BLI_LOGGED); in xfs_buf_item_size()
243 ASSERT(blfp->blf_flags & XFS_BLF_CANCEL); in xfs_buf_item_format_segment()
306 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_buf_item_format()
307 ASSERT((bip->bli_flags & XFS_BLI_LOGGED) || in xfs_buf_item_format()
309 ASSERT((bip->bli_flags & XFS_BLI_STALE) || in xfs_buf_item_format()
312 ASSERT(!(bip->bli_flags & XFS_BLI_ORDERED) || in xfs_buf_item_format()
365 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_buf_item_pin()
366 ASSERT((bip->bli_flags & XFS_BLI_LOGGED) || in xfs_buf_item_pin()
400 ASSERT(bp->b_log_item == bip); in xfs_buf_item_unpin()
401 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_buf_item_unpin()
411 ASSERT(bip->bli_flags & XFS_BLI_STALE); in xfs_buf_item_unpin()
412 ASSERT(xfs_buf_islocked(bp)); in xfs_buf_item_unpin()
413 ASSERT(bp->b_flags & XBF_STALE); in xfs_buf_item_unpin()
414 ASSERT(bip->__bli_format.blf_flags & XFS_BLF_CANCEL); in xfs_buf_item_unpin()
452 ASSERT(bp->b_log_item == NULL); in xfs_buf_item_unpin()
514 ASSERT(!(bip->bli_flags & XFS_BLI_STALE)); in xfs_buf_item_push()
616 ASSERT((!ordered && dirty == xfs_buf_item_dirty_format(bip)) || in xfs_buf_item_release()
618 ASSERT(!stale || (bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_buf_item_release()
636 ASSERT(!stale || aborted); in xfs_buf_item_release()
696 ASSERT(bip->bli_formats == NULL); in xfs_buf_item_get_format()
742 ASSERT(bp->b_mount == mp); in xfs_buf_item_init()
744 ASSERT(bip->bli_item.li_type == XFS_LI_BUF); in xfs_buf_item_init()
745 ASSERT(!bp->b_transp); in xfs_buf_item_init()
746 ASSERT(bip->bli_buf == bp); in xfs_buf_item_init()
764 ASSERT(error == 0); in xfs_buf_item_init()
959 ASSERT(!(bip->bli_item.li_flags & XFS_LI_IN_AIL)); in xfs_buf_item_relse()
983 ASSERT(xfs_buf_islocked(bp)); in xfs_buf_attach_iodone()
988 ASSERT(bp->b_iodone == NULL || in xfs_buf_attach_iodone()
1106 ASSERT(bp->b_iodone != NULL); in xfs_buf_iodone_callback_error()
1215 ASSERT(BUF_ITEM(lip)->bli_buf == bp); in xfs_buf_iodone()