• Home
  • Raw
  • Download

Lines Matching refs:ASSERT

108 		ASSERT(nbits > 0);  in xfs_buf_item_size_segment()
198 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_buf_item_size()
206 ASSERT(bip->__bli_format.blf_flags & XFS_BLF_CANCEL); in xfs_buf_item_size()
214 ASSERT(bip->bli_flags & XFS_BLI_LOGGED); in xfs_buf_item_size()
311 ASSERT(blfp->blf_flags & XFS_BLF_CANCEL); in xfs_buf_item_format_segment()
320 ASSERT(first_bit >= 0); in xfs_buf_item_format_segment()
323 ASSERT(nbits > 0); in xfs_buf_item_format_segment()
350 ASSERT(bp->b_addr == NULL); in xfs_buf_item_format_segment()
406 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_buf_item_format()
407 ASSERT((bip->bli_flags & XFS_BLI_LOGGED) || in xfs_buf_item_format()
409 ASSERT((bip->bli_flags & XFS_BLI_STALE) || in xfs_buf_item_format()
412 ASSERT(!(bip->bli_flags & XFS_BLI_ORDERED) || in xfs_buf_item_format()
465 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_buf_item_pin()
466 ASSERT((bip->bli_flags & XFS_BLI_LOGGED) || in xfs_buf_item_pin()
490 ASSERT(bp->b_log_item == bip); in xfs_buf_item_unpin()
491 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_buf_item_unpin()
515 ASSERT(bip->bli_flags & XFS_BLI_STALE); in xfs_buf_item_unpin()
516 ASSERT(xfs_buf_islocked(bp)); in xfs_buf_item_unpin()
517 ASSERT(bp->b_flags & XBF_STALE); in xfs_buf_item_unpin()
518 ASSERT(bip->__bli_format.blf_flags & XFS_BLF_CANCEL); in xfs_buf_item_unpin()
519 ASSERT(list_empty(&lip->li_trans)); in xfs_buf_item_unpin()
520 ASSERT(!bp->b_transp); in xfs_buf_item_unpin()
533 ASSERT(list_empty(&bp->b_li_list)); in xfs_buf_item_unpin()
537 ASSERT(bp->b_log_item == NULL); in xfs_buf_item_unpin()
576 ASSERT(!(bip->bli_flags & XFS_BLI_STALE)); in xfs_buf_item_push()
677 ASSERT((!ordered && dirty == xfs_buf_item_dirty_format(bip)) || in xfs_buf_item_release()
679 ASSERT(!stale || (bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_buf_item_release()
697 ASSERT(!stale || aborted); in xfs_buf_item_release()
757 ASSERT(bip->bli_formats == NULL); in xfs_buf_item_get_format()
799 ASSERT(bp->b_mount == mp); in xfs_buf_item_init()
801 ASSERT(bip->bli_item.li_type == XFS_LI_BUF); in xfs_buf_item_init()
802 ASSERT(!bp->b_transp); in xfs_buf_item_init()
803 ASSERT(bip->bli_buf == bp); in xfs_buf_item_init()
868 ASSERT(first < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()
869 ASSERT(last < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()
1018 ASSERT(!test_bit(XFS_LI_IN_AIL, &bip->bli_item.li_flags)); in xfs_buf_item_relse()