Lines Matching refs:BUG_ON

116 	BUG_ON(new_init_size > ni->allocated_size);  in ntfs_attr_extend_initialized()
131 BUG_ON(old_init_size != old_i_size); in ntfs_attr_extend_initialized()
152 BUG_ON(a->non_resident); in ntfs_attr_extend_initialized()
155 BUG_ON(old_i_size != (loff_t)attr_len); in ntfs_attr_extend_initialized()
196 BUG_ON(!a->non_resident); in ntfs_attr_extend_initialized()
197 BUG_ON(old_i_size != (loff_t) in ntfs_attr_extend_initialized()
265 BUG_ON(ni->initialized_size != new_init_size); in ntfs_attr_extend_initialized()
288 BUG_ON(!a->non_resident); in ntfs_attr_extend_initialized()
337 BUG_ON(NInoMstProtected(ni)); in ntfs_prepare_file_for_write()
338 BUG_ON(ni->type != AT_DATA); in ntfs_prepare_file_for_write()
352 BUG_ON(ni->name_len); in ntfs_prepare_file_for_write()
393 BUG_ON(pos >= ll); in ntfs_prepare_file_for_write()
493 BUG_ON(!nr_pages); in __ntfs_grab_cache_pages()
592 BUG_ON(!nr_pages); in ntfs_prepare_pages_for_non_resident_write()
593 BUG_ON(!pages); in ntfs_prepare_pages_for_non_resident_write()
594 BUG_ON(!*pages); in ntfs_prepare_pages_for_non_resident_write()
607 BUG_ON(!page); in ntfs_prepare_pages_for_non_resident_write()
702 BUG_ON(lcn < 0); in ntfs_prepare_pages_for_non_resident_write()
951 BUG_ON(lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
957 BUG_ON(!rl); in ntfs_prepare_pages_for_non_resident_write()
965 BUG_ON(rl->lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1037 BUG_ON(!rl2); in ntfs_prepare_pages_for_non_resident_write()
1038 BUG_ON(!rl2->length); in ntfs_prepare_pages_for_non_resident_write()
1039 BUG_ON(rl2->lcn < LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1070 BUG_ON(err != -ENOSPC); in ntfs_prepare_pages_for_non_resident_write()
1253 BUG_ON(!rl_write_locked); in ntfs_prepare_pages_for_non_resident_write()
1356 BUG_ON(!nr_pages); in ntfs_flush_dcache_pages()
1452 BUG_ON(!NInoNonResident(ni)); in ntfs_commit_pages_after_non_resident_write()
1466 BUG_ON(!a->non_resident); in ntfs_commit_pages_after_non_resident_write()
1468 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_non_resident_write()
1548 BUG_ON(!nr_pages); in ntfs_commit_pages_after_write()
1549 BUG_ON(!pages); in ntfs_commit_pages_after_write()
1551 BUG_ON(!page); in ntfs_commit_pages_after_write()
1561 BUG_ON(nr_pages > 1); in ntfs_commit_pages_after_write()
1570 BUG_ON(NInoNonResident(ni)); in ntfs_commit_pages_after_write()
1592 BUG_ON(a->non_resident); in ntfs_commit_pages_after_write()
1596 BUG_ON(attr_len != i_size); in ntfs_commit_pages_after_write()
1597 BUG_ON(pos > attr_len); in ntfs_commit_pages_after_write()
1599 BUG_ON(end > le32_to_cpu(a->length) - in ntfs_commit_pages_after_write()
1628 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_write()
1630 BUG_ON(initialized_size != i_size); in ntfs_commit_pages_after_write()
1963 BUG_ON(S_ISDIR(vi->i_mode)); in ntfs_file_fsync()