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()
400 BUG_ON(pos >= ll); in ntfs_prepare_file_for_write()
500 BUG_ON(!nr_pages); in __ntfs_grab_cache_pages()
599 BUG_ON(!nr_pages); in ntfs_prepare_pages_for_non_resident_write()
600 BUG_ON(!pages); in ntfs_prepare_pages_for_non_resident_write()
601 BUG_ON(!*pages); in ntfs_prepare_pages_for_non_resident_write()
614 BUG_ON(!page); in ntfs_prepare_pages_for_non_resident_write()
709 BUG_ON(lcn < 0); in ntfs_prepare_pages_for_non_resident_write()
958 BUG_ON(lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
964 BUG_ON(!rl); in ntfs_prepare_pages_for_non_resident_write()
972 BUG_ON(rl->lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1044 BUG_ON(!rl2); in ntfs_prepare_pages_for_non_resident_write()
1045 BUG_ON(!rl2->length); in ntfs_prepare_pages_for_non_resident_write()
1046 BUG_ON(rl2->lcn < LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1077 BUG_ON(err != -ENOSPC); in ntfs_prepare_pages_for_non_resident_write()
1260 BUG_ON(!rl_write_locked); in ntfs_prepare_pages_for_non_resident_write()
1363 BUG_ON(!nr_pages); in ntfs_flush_dcache_pages()
1459 BUG_ON(!NInoNonResident(ni)); in ntfs_commit_pages_after_non_resident_write()
1473 BUG_ON(!a->non_resident); in ntfs_commit_pages_after_non_resident_write()
1475 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_non_resident_write()
1555 BUG_ON(!nr_pages); in ntfs_commit_pages_after_write()
1556 BUG_ON(!pages); in ntfs_commit_pages_after_write()
1558 BUG_ON(!page); in ntfs_commit_pages_after_write()
1568 BUG_ON(nr_pages > 1); in ntfs_commit_pages_after_write()
1577 BUG_ON(NInoNonResident(ni)); in ntfs_commit_pages_after_write()
1599 BUG_ON(a->non_resident); in ntfs_commit_pages_after_write()
1603 BUG_ON(attr_len != i_size); in ntfs_commit_pages_after_write()
1604 BUG_ON(pos > attr_len); in ntfs_commit_pages_after_write()
1606 BUG_ON(end > le32_to_cpu(a->length) - in ntfs_commit_pages_after_write()
1635 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_write()
1637 BUG_ON(initialized_size != i_size); in ntfs_commit_pages_after_write()
1983 BUG_ON(S_ISDIR(vi->i_mode)); in ntfs_file_fsync()