Lines Matching refs:BUG_ON
71 BUG_ON(bix >= INDIRECT_BIT); in logfs_pack_index()
209 BUG_ON(!PageLocked(page)); in prelock_page()
211 BUG_ON(PagePreLocked(page)); in prelock_page()
226 BUG_ON(!PageLocked(page)); in preunlock_page()
231 BUG_ON(!PagePreLocked(page)); in preunlock_page()
307 BUG_ON(!PageLocked(page)); in logfs_lock_write_page()
332 BUG_ON(!PageLocked(page)); in logfs_get_write_page()
413 BUG_ON(ret); in indirect_write_block()
427 BUG_ON(ret); in inode_write_block()
545 BUG_ON(!list_empty(&block->item_list)); in __free_block()
687 BUG_ON(!block); in block_set_pointer()
838 BUG_ON(!bofs); in seek_holedata_loop()
872 BUG_ON(data); in seek_holedata_loop()
971 BUG_ON(!page); in __logfs_is_valid_loop()
1153 BUG_ON(super->s_victim_ino); in logfs_handle_transaction()
1158 BUG_ON(super->s_victim_ino != ta->ino); in logfs_handle_transaction()
1164 BUG_ON(super->s_rename_dir); in logfs_handle_transaction()
1165 BUG_ON(super->s_rename_pos); in logfs_handle_transaction()
1170 BUG_ON(super->s_rename_dir != ta->dir); in logfs_handle_transaction()
1171 BUG_ON(super->s_rename_pos != ta->pos); in logfs_handle_transaction()
1177 BUG_ON(super->s_rename_dir); in logfs_handle_transaction()
1178 BUG_ON(super->s_rename_pos); in logfs_handle_transaction()
1179 BUG_ON(super->s_victim_ino); in logfs_handle_transaction()
1185 BUG_ON(super->s_rename_dir != ta->dir); in logfs_handle_transaction()
1186 BUG_ON(super->s_rename_pos != ta->pos); in logfs_handle_transaction()
1187 BUG_ON(super->s_victim_ino != ta->ino); in logfs_handle_transaction()
1192 BUG_ON(super->s_rename_dir); in logfs_handle_transaction()
1193 BUG_ON(super->s_rename_pos); in logfs_handle_transaction()
1194 BUG_ON(super->s_victim_ino != ta->ino); in logfs_handle_transaction()
1246 BUG_ON(err); in mark_segment()
1519 BUG_ON(height > 5 || li->li_height > 5); in grow_inode()
1657 BUG_ON(level != 0); in truncate_data_block()
1676 BUG_ON(level != 0); in logfs_truncate_i0()
1914 BUG_ON(li->li_block); in move_page_to_inode()
1937 BUG_ON(PagePrivate(page)); in move_inode_to_page()
1985 BUG_ON(inode->i_ino == LOGFS_INO_MASTER); in inode_to_page()
2006 BUG_ON(inode->i_ino == LOGFS_INO_MASTER); in do_write_inode()
2044 BUG_ON(!page); /* FIXME: We need some reserve page for this case */ in logfs_mod_segment_entry()
2054 BUG_ON((int)be32_to_cpu(se[child_no].valid) > super->s_segsize); in logfs_mod_segment_entry()
2190 BUG_ON(inode->i_state & I_DIRTY && inode->i_nlink); in logfs_evict_inode()
2199 BUG_ON(!page); /* FIXME: Use emergency page */ in logfs_evict_inode()
2213 BUG_ON(err); in btree_write_block()
2214 BUG_ON(!PagePrivate(page)); in btree_write_block()
2215 BUG_ON(logfs_block(page) != block); in btree_write_block()
2217 BUG_ON(err); in btree_write_block()
2218 BUG_ON(PagePrivate(page) || page->private); in btree_write_block()
2246 BUG_ON(pos & (LOGFS_BLOCKSIZE-1)); in logfs_inode_write()
2247 BUG_ON(count > LOGFS_BLOCKSIZE); in logfs_inode_write()