Lines Matching refs:BUG_ON

129 	BUG_ON(new_init_size > ni->allocated_size);  in ntfs_attr_extend_initialized()
144 BUG_ON(old_init_size != old_i_size); in ntfs_attr_extend_initialized()
165 BUG_ON(a->non_resident); in ntfs_attr_extend_initialized()
168 BUG_ON(old_i_size != (loff_t)attr_len); in ntfs_attr_extend_initialized()
209 BUG_ON(!a->non_resident); in ntfs_attr_extend_initialized()
210 BUG_ON(old_i_size != (loff_t) in ntfs_attr_extend_initialized()
283 BUG_ON(ni->initialized_size != new_init_size); in ntfs_attr_extend_initialized()
306 BUG_ON(!a->non_resident); in ntfs_attr_extend_initialized()
355 BUG_ON(NInoMstProtected(ni)); in ntfs_prepare_file_for_write()
356 BUG_ON(ni->type != AT_DATA); in ntfs_prepare_file_for_write()
370 BUG_ON(ni->name_len); in ntfs_prepare_file_for_write()
414 BUG_ON(pos >= ll); in ntfs_prepare_file_for_write()
514 BUG_ON(!nr_pages); in __ntfs_grab_cache_pages()
612 BUG_ON(!nr_pages); in ntfs_prepare_pages_for_non_resident_write()
613 BUG_ON(!pages); in ntfs_prepare_pages_for_non_resident_write()
614 BUG_ON(!*pages); in ntfs_prepare_pages_for_non_resident_write()
627 BUG_ON(!page); in ntfs_prepare_pages_for_non_resident_write()
722 BUG_ON(lcn < 0); in ntfs_prepare_pages_for_non_resident_write()
972 BUG_ON(lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
978 BUG_ON(!rl); in ntfs_prepare_pages_for_non_resident_write()
986 BUG_ON(rl->lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1058 BUG_ON(!rl2); in ntfs_prepare_pages_for_non_resident_write()
1059 BUG_ON(!rl2->length); in ntfs_prepare_pages_for_non_resident_write()
1060 BUG_ON(rl2->lcn < LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1091 BUG_ON(err != -ENOSPC); in ntfs_prepare_pages_for_non_resident_write()
1274 BUG_ON(!rl_write_locked); in ntfs_prepare_pages_for_non_resident_write()
1377 BUG_ON(!nr_pages); in ntfs_flush_dcache_pages()
1473 BUG_ON(!NInoNonResident(ni)); in ntfs_commit_pages_after_non_resident_write()
1487 BUG_ON(!a->non_resident); in ntfs_commit_pages_after_non_resident_write()
1489 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_non_resident_write()
1569 BUG_ON(!nr_pages); in ntfs_commit_pages_after_write()
1570 BUG_ON(!pages); in ntfs_commit_pages_after_write()
1572 BUG_ON(!page); in ntfs_commit_pages_after_write()
1582 BUG_ON(nr_pages > 1); in ntfs_commit_pages_after_write()
1591 BUG_ON(NInoNonResident(ni)); in ntfs_commit_pages_after_write()
1613 BUG_ON(a->non_resident); in ntfs_commit_pages_after_write()
1617 BUG_ON(attr_len != i_size); in ntfs_commit_pages_after_write()
1618 BUG_ON(pos > attr_len); in ntfs_commit_pages_after_write()
1620 BUG_ON(end > le32_to_cpu(a->length) - in ntfs_commit_pages_after_write()
1649 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_write()
1651 BUG_ON(initialized_size != i_size); in ntfs_commit_pages_after_write()
2000 BUG_ON(S_ISDIR(vi->i_mode)); in ntfs_file_fsync()