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()
613 BUG_ON(!nr_pages); in ntfs_prepare_pages_for_non_resident_write()
614 BUG_ON(!pages); in ntfs_prepare_pages_for_non_resident_write()
615 BUG_ON(!*pages); in ntfs_prepare_pages_for_non_resident_write()
628 BUG_ON(!page); in ntfs_prepare_pages_for_non_resident_write()
723 BUG_ON(lcn < 0); in ntfs_prepare_pages_for_non_resident_write()
973 BUG_ON(lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
979 BUG_ON(!rl); in ntfs_prepare_pages_for_non_resident_write()
987 BUG_ON(rl->lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1059 BUG_ON(!rl2); in ntfs_prepare_pages_for_non_resident_write()
1060 BUG_ON(!rl2->length); in ntfs_prepare_pages_for_non_resident_write()
1061 BUG_ON(rl2->lcn < LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1092 BUG_ON(err != -ENOSPC); in ntfs_prepare_pages_for_non_resident_write()
1275 BUG_ON(!rl_write_locked); in ntfs_prepare_pages_for_non_resident_write()
1378 BUG_ON(!nr_pages); in ntfs_flush_dcache_pages()
1474 BUG_ON(!NInoNonResident(ni)); in ntfs_commit_pages_after_non_resident_write()
1488 BUG_ON(!a->non_resident); in ntfs_commit_pages_after_non_resident_write()
1490 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_non_resident_write()
1570 BUG_ON(!nr_pages); in ntfs_commit_pages_after_write()
1571 BUG_ON(!pages); in ntfs_commit_pages_after_write()
1573 BUG_ON(!page); in ntfs_commit_pages_after_write()
1583 BUG_ON(nr_pages > 1); in ntfs_commit_pages_after_write()
1592 BUG_ON(NInoNonResident(ni)); in ntfs_commit_pages_after_write()
1614 BUG_ON(a->non_resident); in ntfs_commit_pages_after_write()
1618 BUG_ON(attr_len != i_size); in ntfs_commit_pages_after_write()
1619 BUG_ON(pos > attr_len); in ntfs_commit_pages_after_write()
1621 BUG_ON(end > le32_to_cpu(a->length) - in ntfs_commit_pages_after_write()
1650 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_write()
1652 BUG_ON(initialized_size != i_size); in ntfs_commit_pages_after_write()
2001 BUG_ON(S_ISDIR(vi->i_mode)); in ntfs_file_fsync()