Lines Matching refs:BUG_ON
115 BUG_ON(new_init_size > ni->allocated_size); in ntfs_attr_extend_initialized()
130 BUG_ON(old_init_size != old_i_size); in ntfs_attr_extend_initialized()
151 BUG_ON(a->non_resident); in ntfs_attr_extend_initialized()
154 BUG_ON(old_i_size != (loff_t)attr_len); in ntfs_attr_extend_initialized()
195 BUG_ON(!a->non_resident); in ntfs_attr_extend_initialized()
196 BUG_ON(old_i_size != (loff_t) in ntfs_attr_extend_initialized()
269 BUG_ON(ni->initialized_size != new_init_size); in ntfs_attr_extend_initialized()
292 BUG_ON(!a->non_resident); in ntfs_attr_extend_initialized()
341 BUG_ON(NInoMstProtected(ni)); in ntfs_prepare_file_for_write()
342 BUG_ON(ni->type != AT_DATA); in ntfs_prepare_file_for_write()
356 BUG_ON(ni->name_len); in ntfs_prepare_file_for_write()
397 BUG_ON(pos >= ll); in ntfs_prepare_file_for_write()
497 BUG_ON(!nr_pages); in __ntfs_grab_cache_pages()
596 BUG_ON(!nr_pages); in ntfs_prepare_pages_for_non_resident_write()
597 BUG_ON(!pages); in ntfs_prepare_pages_for_non_resident_write()
598 BUG_ON(!*pages); in ntfs_prepare_pages_for_non_resident_write()
611 BUG_ON(!page); in ntfs_prepare_pages_for_non_resident_write()
706 BUG_ON(lcn < 0); in ntfs_prepare_pages_for_non_resident_write()
955 BUG_ON(lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
961 BUG_ON(!rl); in ntfs_prepare_pages_for_non_resident_write()
969 BUG_ON(rl->lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1041 BUG_ON(!rl2); in ntfs_prepare_pages_for_non_resident_write()
1042 BUG_ON(!rl2->length); in ntfs_prepare_pages_for_non_resident_write()
1043 BUG_ON(rl2->lcn < LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1074 BUG_ON(err != -ENOSPC); in ntfs_prepare_pages_for_non_resident_write()
1257 BUG_ON(!rl_write_locked); in ntfs_prepare_pages_for_non_resident_write()
1360 BUG_ON(!nr_pages); in ntfs_flush_dcache_pages()
1456 BUG_ON(!NInoNonResident(ni)); in ntfs_commit_pages_after_non_resident_write()
1470 BUG_ON(!a->non_resident); in ntfs_commit_pages_after_non_resident_write()
1472 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_non_resident_write()
1552 BUG_ON(!nr_pages); in ntfs_commit_pages_after_write()
1553 BUG_ON(!pages); in ntfs_commit_pages_after_write()
1555 BUG_ON(!page); in ntfs_commit_pages_after_write()
1565 BUG_ON(nr_pages > 1); in ntfs_commit_pages_after_write()
1574 BUG_ON(NInoNonResident(ni)); in ntfs_commit_pages_after_write()
1596 BUG_ON(a->non_resident); in ntfs_commit_pages_after_write()
1600 BUG_ON(attr_len != i_size); in ntfs_commit_pages_after_write()
1601 BUG_ON(pos > attr_len); in ntfs_commit_pages_after_write()
1603 BUG_ON(end > le32_to_cpu(a->length) - in ntfs_commit_pages_after_write()
1632 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_write()
1634 BUG_ON(initialized_size != i_size); in ntfs_commit_pages_after_write()
1967 BUG_ON(S_ISDIR(vi->i_mode)); in ntfs_file_fsync()