Lines Matching refs:BUG_ON

56 	BUG_ON(ni->page);  in map_mft_record_page()
193 BUG_ON(!ni->page); in unmap_mft_record_page()
217 BUG_ON(!page); in unmap_mft_record()
344 BUG_ON(!base_ni->ext.extent_ntfs_inos); in map_extent_mft_record()
400 BUG_ON(NInoAttr(ni)); in __mark_mft_record_dirty()
441 BUG_ON(vol->mftmirr_ino); in ntfs_sync_mft_mirror_umount()
480 BUG_ON(!max_bhs); in ntfs_sync_mft_mirror()
497 BUG_ON(!PageUptodate(page)); in ntfs_sync_mft_mirror()
519 BUG_ON(!bh); in ntfs_sync_mft_mirror()
552 BUG_ON(!rl); in ntfs_sync_mft_mirror()
576 BUG_ON(!buffer_uptodate(bh)); in ntfs_sync_mft_mirror()
577 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror()
578 BUG_ON(nr_bhs >= max_bhs); in ntfs_sync_mft_mirror()
580 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
591 BUG_ON(!buffer_uptodate(tbh)); in ntfs_sync_mft_mirror()
683 BUG_ON(NInoAttr(ni)); in write_mft_record_nolock()
684 BUG_ON(!max_bhs); in write_mft_record_nolock()
685 BUG_ON(!PageLocked(page)); in write_mft_record_nolock()
695 BUG_ON(!bh); in write_mft_record_nolock()
716 BUG_ON(nr_bhs); in write_mft_record_nolock()
736 BUG_ON(!rl); in write_mft_record_nolock()
759 BUG_ON(!buffer_uptodate(bh)); in write_mft_record_nolock()
760 BUG_ON(!nr_bhs && (m_start != block_start)); in write_mft_record_nolock()
761 BUG_ON(nr_bhs >= max_bhs); in write_mft_record_nolock()
763 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
784 BUG_ON(!buffer_uptodate(tbh)); in write_mft_record_nolock()
939 BUG_ON(!locked_ni); in ntfs_may_write_mft_record()
957 BUG_ON(vi != mft_vi); in ntfs_may_write_mft_record()
1025 BUG_ON(vi != mft_vi); in ntfs_may_write_mft_record()
1417 BUG_ON(ll < rl2->vcn); in ntfs_mft_bitmap_extend_allocation_nolock()
1418 BUG_ON(ll >= rl2->vcn + rl2->length); in ntfs_mft_bitmap_extend_allocation_nolock()
1849 BUG_ON(ll < rl2->vcn); in ntfs_mft_data_extend_allocation_nolock()
1850 BUG_ON(ll >= rl2->vcn + rl2->length); in ntfs_mft_data_extend_allocation_nolock()
2127 BUG_ON(!PageUptodate(page)); in ntfs_mft_record_format()
2265 BUG_ON(mode); in ntfs_mft_record_alloc()
2270 BUG_ON(base_ni); in ntfs_mft_record_alloc()
2275 BUG_ON(!mrec); in ntfs_mft_record_alloc()
2500 BUG_ON(i_size_read(vol->mft_ino) > mft_ni->allocated_size); in ntfs_mft_record_alloc()
2501 BUG_ON(mft_ni->initialized_size > i_size_read(vol->mft_ino)); in ntfs_mft_record_alloc()
2529 BUG_ON(!PageUptodate(page)); in ntfs_mft_record_alloc()
2608 BUG_ON(m != m_tmp); in ntfs_mft_record_alloc()
2794 BUG_ON(NInoAttr(ni)); in ntfs_extent_mft_record_free()
2795 BUG_ON(ni->nr_extents != -1); in ntfs_extent_mft_record_free()
2801 BUG_ON(base_ni->nr_extents <= 0); in ntfs_extent_mft_record_free()
2903 BUG_ON(!base_ni->ext.extent_ntfs_inos); in ntfs_extent_mft_record_free()