Lines Matching refs:BUG_ON

279 	BUG_ON(!buffer_uptodate(bh));  in ocfs2_check_group_descriptor()
308 BUG_ON(!buffer_uptodate(bh)); in ocfs2_validate_group_descriptor()
359 BUG_ON(!ocfs2_supports_discontig_bg(osb)); in ocfs2_bg_discontig_add_extent()
701 BUG_ON(ocfs2_is_cluster_bitmap(alloc_inode)); in ocfs2_block_group_alloc()
834 BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); in ocfs2_reserve_suballoc_bits()
873 BUG_ON(bits_wanted > in ocfs2_reserve_suballoc_bits()
1294 BUG_ON(!OCFS2_IS_VALID_GROUP_DESC(bg)); in ocfs2_block_group_find_clear_bits()
1354 BUG_ON(!OCFS2_IS_VALID_GROUP_DESC(bg)); in ocfs2_block_group_set_bits()
1355 BUG_ON(le16_to_cpu(bg->bg_free_bits_count) < num_bits); in ocfs2_block_group_set_bits()
1394 BUG_ON(!cl->cl_next_free_rec); in ocfs2_find_victim_chain()
1404 BUG_ON(best >= le16_to_cpu(cl->cl_next_free_rec)); in ocfs2_find_victim_chain()
1425 BUG_ON(!OCFS2_IS_VALID_GROUP_DESC(bg)); in ocfs2_relink_block_group()
1426 BUG_ON(!OCFS2_IS_VALID_GROUP_DESC(prev_bg)); in ocfs2_relink_block_group()
1494 BUG_ON(!ocfs2_is_cluster_bitmap(inode)); in ocfs2_cluster_group_search()
1562 BUG_ON(min_bits != 1); in ocfs2_block_group_search()
1563 BUG_ON(ocfs2_is_cluster_bitmap(inode)); in ocfs2_block_group_search()
1808 BUG_ON(res->sr_bits == 0); in ocfs2_search_chain()
1896 BUG_ON(ac->ac_bits_given >= ac->ac_bits_wanted); in ocfs2_claim_suballoc_bits()
1897 BUG_ON(bits_wanted > (ac->ac_bits_wanted - ac->ac_bits_given)); in ocfs2_claim_suballoc_bits()
1898 BUG_ON(!ac->ac_bh); in ocfs2_claim_suballoc_bits()
1904 BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); in ocfs2_claim_suballoc_bits()
2004 BUG_ON(!ac); in ocfs2_claim_metadata()
2005 BUG_ON(ac->ac_bits_wanted < (ac->ac_bits_given + bits_wanted)); in ocfs2_claim_metadata()
2006 BUG_ON(ac->ac_which != OCFS2_AC_USE_META); in ocfs2_claim_metadata()
2075 BUG_ON(!ac); in ocfs2_find_new_inode_loc()
2076 BUG_ON(ac->ac_bits_given != 0); in ocfs2_find_new_inode_loc()
2077 BUG_ON(ac->ac_bits_wanted != 1); in ocfs2_find_new_inode_loc()
2078 BUG_ON(ac->ac_which != OCFS2_AC_USE_INODE); in ocfs2_find_new_inode_loc()
2147 BUG_ON(res->sr_blkno != di_blkno); in ocfs2_claim_new_inode_at_loc()
2185 BUG_ON(res->sr_bits != 1); in ocfs2_claim_new_inode_at_loc()
2209 BUG_ON(!ac); in ocfs2_claim_new_inode()
2210 BUG_ON(ac->ac_bits_given != 0); in ocfs2_claim_new_inode()
2211 BUG_ON(ac->ac_bits_wanted != 1); in ocfs2_claim_new_inode()
2212 BUG_ON(ac->ac_which != OCFS2_AC_USE_INODE); in ocfs2_claim_new_inode()
2227 BUG_ON(res.sr_bits != 1); in ocfs2_claim_new_inode()
2250 BUG_ON(!ocfs2_is_cluster_bitmap(inode)); in ocfs2_desc_bitmap_to_cluster_off()
2265 BUG_ON(!ocfs2_is_cluster_bitmap(inode)); in ocfs2_which_cluster_group()
2284 BUG_ON(!ocfs2_is_cluster_bitmap(inode)); in ocfs2_block_to_cluster_group()
2314 BUG_ON(ac->ac_bits_given >= ac->ac_bits_wanted); in __ocfs2_claim_clusters()
2316 BUG_ON(ac->ac_which != OCFS2_AC_USE_LOCAL in __ocfs2_claim_clusters()
2350 BUG_ON(res.sr_blkno); /* cluster alloc can't set */ in __ocfs2_claim_clusters()
2400 BUG_ON(!OCFS2_IS_VALID_GROUP_DESC(bg)); in ocfs2_block_group_clear_bits()
2404 BUG_ON(undo_fn && !ocfs2_is_cluster_bitmap(alloc_inode)); in ocfs2_block_group_clear_bits()
2419 BUG_ON(!undo_bg); in ocfs2_block_group_clear_bits()
2472 BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); in _ocfs2_free_suballoc_bits()
2473 BUG_ON((count + start_bit) > ocfs2_bits_per_group(cl)); in _ocfs2_free_suballoc_bits()
2488 BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits)); in _ocfs2_free_suballoc_bits()
2565BUG_ON(start_blk != ocfs2_clusters_to_blocks(bitmap_inode->i_sb, ocfs2_blocks_to_clusters(bitmap_i… in _ocfs2_free_clusters()
2690 BUG_ON(clusters_to_add != 0 && data_ac == NULL); in ocfs2_lock_allocators()