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()
137 ASSERT(xfs_buf_islocked(bp)); in xfs_trans_get_buf_map()
143 ASSERT(bp->b_transp == tp); in xfs_trans_get_buf_map()
145 ASSERT(bip != NULL); in xfs_trans_get_buf_map()
146 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_get_buf_map()
157 ASSERT(!bp->b_error); in xfs_trans_get_buf_map()
196 ASSERT(bip != NULL); in xfs_trans_getsb()
197 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_getsb()
249 ASSERT(xfs_buf_islocked(bp)); in xfs_trans_read_buf_map()
250 ASSERT(bp->b_transp == tp); in xfs_trans_read_buf_map()
251 ASSERT(bp->b_log_item != NULL); in xfs_trans_read_buf_map()
252 ASSERT(!bp->b_error); in xfs_trans_read_buf_map()
253 ASSERT(bp->b_flags & XBF_DONE); in xfs_trans_read_buf_map()
276 ASSERT(bp->b_ops != NULL); in xfs_trans_read_buf_map()
294 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_read_buf_map()
296 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_trans_read_buf_map()
344 ASSERT(bp->b_ops != NULL || ops == NULL); in xfs_trans_read_buf_map()
359 ASSERT(bip->bli_item.li_type == XFS_LI_BUF); in xfs_trans_buf_is_dirty()
382 ASSERT(bp->b_transp == tp); in xfs_trans_brelse()
390 ASSERT(bip->bli_item.li_type == XFS_LI_BUF); in xfs_trans_brelse()
391 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_brelse()
415 ASSERT(!(bip->bli_flags & XFS_BLI_LOGGED)); in xfs_trans_brelse()
439 ASSERT(bp->b_transp == tp); in xfs_trans_bhold()
440 ASSERT(bip != NULL); in xfs_trans_bhold()
441 ASSERT(!(bip->bli_flags & XFS_BLI_STALE)); in xfs_trans_bhold()
442 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_trans_bhold()
443 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_bhold()
460 ASSERT(bp->b_transp == tp); in xfs_trans_bhold_release()
461 ASSERT(bip != NULL); in xfs_trans_bhold_release()
462 ASSERT(!(bip->bli_flags & XFS_BLI_STALE)); in xfs_trans_bhold_release()
463 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_trans_bhold_release()
464 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_bhold_release()
465 ASSERT(bip->bli_flags & XFS_BLI_HOLD); in xfs_trans_bhold_release()
481 ASSERT(bp->b_transp == tp); in xfs_trans_dirty_buf()
482 ASSERT(bip != NULL); in xfs_trans_dirty_buf()
483 ASSERT(bp->b_iodone == NULL || in xfs_trans_dirty_buf()
498 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_dirty_buf()
510 ASSERT(bp->b_flags & XBF_STALE); in xfs_trans_dirty_buf()
538 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf()
539 ASSERT(!(bip->bli_flags & XFS_BLI_ORDERED)); in xfs_trans_log_buf()
585 ASSERT(bp->b_transp == tp); in xfs_trans_binval()
586 ASSERT(bip != NULL); in xfs_trans_binval()
587 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_binval()
596 ASSERT(bp->b_flags & XBF_STALE); in xfs_trans_binval()
597 ASSERT(!(bip->bli_flags & (XFS_BLI_LOGGED | XFS_BLI_DIRTY))); in xfs_trans_binval()
598 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLF_INODE_BUF)); in xfs_trans_binval()
599 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLFT_MASK)); in xfs_trans_binval()
600 ASSERT(bip->__bli_format.blf_flags & XFS_BLF_CANCEL); in xfs_trans_binval()
601 ASSERT(test_bit(XFS_LI_DIRTY, &bip->bli_item.li_flags)); in xfs_trans_binval()
602 ASSERT(tp->t_flags & XFS_TRANS_DIRTY); in xfs_trans_binval()
639 ASSERT(bp->b_transp == tp); in xfs_trans_inode_buf()
640 ASSERT(bip != NULL); in xfs_trans_inode_buf()
641 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_inode_buf()
663 ASSERT(bp->b_transp == tp); in xfs_trans_stale_inode_buf()
664 ASSERT(bip != NULL); in xfs_trans_stale_inode_buf()
665 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_stale_inode_buf()
688 ASSERT(bp->b_transp == tp); in xfs_trans_inode_alloc_buf()
689 ASSERT(bip != NULL); in xfs_trans_inode_alloc_buf()
690 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_inode_alloc_buf()
710 ASSERT(bp->b_transp == tp); in xfs_trans_ordered_buf()
711 ASSERT(bip != NULL); in xfs_trans_ordered_buf()
712 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_ordered_buf()
743 ASSERT(bp->b_transp == tp); in xfs_trans_buf_set_type()
744 ASSERT(bip != NULL); in xfs_trans_buf_set_type()
745 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_trans_buf_set_type()
782 ASSERT(type == XFS_BLF_UDQUOT_BUF || in xfs_trans_dquot_buf()