Lines Matching refs:ASSERT

43 			ASSERT(blip->bli_buf->b_map_count == nmaps);  in xfs_trans_buf_item_match()
68 ASSERT(bp->b_transp == NULL); in _xfs_trans_bjoin()
77 ASSERT(!(bip->bli_flags & XFS_BLI_STALE)); in _xfs_trans_bjoin()
78 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in _xfs_trans_bjoin()
79 ASSERT(!(bip->bli_flags & XFS_BLI_LOGGED)); in _xfs_trans_bjoin()
140 ASSERT(xfs_buf_islocked(bp)); in xfs_trans_get_buf_map()
146 ASSERT(bp->b_transp == tp); in xfs_trans_get_buf_map()
148 ASSERT(bip != NULL); in xfs_trans_get_buf_map()
149 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_get_buf_map()
160 ASSERT(!bp->b_error); in xfs_trans_get_buf_map()
184 ASSERT(bip != NULL); in xfs_trans_getsb()
185 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_getsb()
237 ASSERT(xfs_buf_islocked(bp)); in xfs_trans_read_buf_map()
238 ASSERT(bp->b_transp == tp); in xfs_trans_read_buf_map()
239 ASSERT(bp->b_log_item != NULL); in xfs_trans_read_buf_map()
240 ASSERT(!bp->b_error); in xfs_trans_read_buf_map()
241 ASSERT(bp->b_flags & XBF_DONE); in xfs_trans_read_buf_map()
264 ASSERT(bp->b_ops != NULL); in xfs_trans_read_buf_map()
282 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_read_buf_map()
284 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_trans_read_buf_map()
313 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_trans_read_buf_map()
328 ASSERT(bip->bli_item.li_type == XFS_LI_BUF); in xfs_trans_buf_is_dirty()
351 ASSERT(bp->b_transp == tp); in xfs_trans_brelse()
359 ASSERT(bip->bli_item.li_type == XFS_LI_BUF); in xfs_trans_brelse()
360 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_brelse()
384 ASSERT(!(bip->bli_flags & XFS_BLI_LOGGED)); in xfs_trans_brelse()
408 ASSERT(bp->b_transp == tp); in xfs_trans_bhold()
409 ASSERT(bip != NULL); in xfs_trans_bhold()
410 ASSERT(!(bip->bli_flags & XFS_BLI_STALE)); in xfs_trans_bhold()
411 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_trans_bhold()
412 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_bhold()
429 ASSERT(bp->b_transp == tp); in xfs_trans_bhold_release()
430 ASSERT(bip != NULL); in xfs_trans_bhold_release()
431 ASSERT(!(bip->bli_flags & XFS_BLI_STALE)); in xfs_trans_bhold_release()
432 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_trans_bhold_release()
433 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_bhold_release()
434 ASSERT(bip->bli_flags & XFS_BLI_HOLD); in xfs_trans_bhold_release()
450 ASSERT(bp->b_transp == tp); in xfs_trans_dirty_buf()
451 ASSERT(bip != NULL); in xfs_trans_dirty_buf()
461 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_dirty_buf()
471 ASSERT(bp->b_flags & XBF_STALE); in xfs_trans_dirty_buf()
499 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf()
500 ASSERT(!(bip->bli_flags & XFS_BLI_ORDERED)); in xfs_trans_log_buf()
546 ASSERT(bp->b_transp == tp); in xfs_trans_binval()
547 ASSERT(bip != NULL); in xfs_trans_binval()
548 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_binval()
557 ASSERT(bp->b_flags & XBF_STALE); in xfs_trans_binval()
558 ASSERT(!(bip->bli_flags & (XFS_BLI_LOGGED | XFS_BLI_DIRTY))); in xfs_trans_binval()
559 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLF_INODE_BUF)); in xfs_trans_binval()
560 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLFT_MASK)); in xfs_trans_binval()
561 ASSERT(bip->__bli_format.blf_flags & XFS_BLF_CANCEL); in xfs_trans_binval()
562 ASSERT(test_bit(XFS_LI_DIRTY, &bip->bli_item.li_flags)); in xfs_trans_binval()
563 ASSERT(tp->t_flags & XFS_TRANS_DIRTY); in xfs_trans_binval()
600 ASSERT(bp->b_transp == tp); in xfs_trans_inode_buf()
601 ASSERT(bip != NULL); in xfs_trans_inode_buf()
602 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_inode_buf()
625 ASSERT(bp->b_transp == tp); in xfs_trans_stale_inode_buf()
626 ASSERT(bip != NULL); in xfs_trans_stale_inode_buf()
627 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_stale_inode_buf()
650 ASSERT(bp->b_transp == tp); in xfs_trans_inode_alloc_buf()
651 ASSERT(bip != NULL); in xfs_trans_inode_alloc_buf()
652 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_inode_alloc_buf()
673 ASSERT(bp->b_transp == tp); in xfs_trans_ordered_buf()
674 ASSERT(bip != NULL); in xfs_trans_ordered_buf()
675 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_ordered_buf()
706 ASSERT(bp->b_transp == tp); in xfs_trans_buf_set_type()
707 ASSERT(bip != NULL); in xfs_trans_buf_set_type()
708 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_buf_set_type()
745 ASSERT(type == XFS_BLF_UDQUOT_BUF || in xfs_trans_dquot_buf()