Lines Matching refs:BUG_ON
238 BUG_ON(!list_empty(&cache->pending[i])); in backref_cache_cleanup()
239 BUG_ON(!list_empty(&cache->changed)); in backref_cache_cleanup()
240 BUG_ON(!list_empty(&cache->detached)); in backref_cache_cleanup()
241 BUG_ON(!RB_EMPTY_ROOT(&cache->rb_root)); in backref_cache_cleanup()
242 BUG_ON(cache->nr_nodes); in backref_cache_cleanup()
243 BUG_ON(cache->nr_edges); in backref_cache_cleanup()
359 BUG_ON(node->detached); in walk_up_backref()
411 BUG_ON(!list_empty(&node->upper)); in drop_backref_node()
433 BUG_ON(!node->lowest && !node->detached); in remove_backref_node()
443 BUG_ON(!list_empty(&node->upper)); in remove_backref_node()
505 BUG_ON(node->pending); in update_backref_cache()
515 BUG_ON(!node->pending); in update_backref_cache()
608 BUG_ON(root_objectid == BTRFS_TREE_RELOC_OBJECTID); in find_tree_root()
611 BUG_ON(IS_ERR(root)); in find_tree_root()
1208 BUG_ON(node->new_bytenr != reloc_root->node->start);
1217 BUG_ON(node->detached);
1325 BUG_ON((struct btrfs_root *)node->data != root);
1354 BUG_ON((struct btrfs_root *)node->data != root);
1377 BUG_ON(!root_item);
1387 BUG_ON(ret);
1402 BUG_ON(ret);
1428 BUG_ON(ret);
1432 BUG_ON(IS_ERR(reloc_root));
1470 BUG_ON(ret < 0);
1505 BUG_ON(ret);
1604 BUG_ON(btrfs_file_extent_offset(leaf, fi) ||
1780 BUG_ON(src->root_key.objectid != BTRFS_TREE_RELOC_OBJECTID);
1781 BUG_ON(dest->root_key.objectid == BTRFS_TREE_RELOC_OBJECTID);
1800 BUG_ON(ret);
1813 BUG_ON(level < lowest_level);
1861 BUG_ON(ret);
1886 BUG_ON(ret);
1904 BUG_ON(ret);
1908 BUG_ON(ret);
1913 BUG_ON(ret);
1918 BUG_ON(ret);
2011 BUG_ON(btrfs_header_level(eb) != i - 1);
2147 BUG_ON(level == 0);
2215 BUG_ON(level == 0);
2315 BUG_ON(IS_ERR(root));
2316 BUG_ON(root->reloc_root != reloc_root);
2382 BUG_ON(IS_ERR(root));
2383 BUG_ON(root->reloc_root != reloc_root);
2431 BUG_ON(!RB_EMPTY_ROOT(&rc->reloc_root_tree.rb_root));
2454 BUG_ON(IS_ERR(root));
2455 BUG_ON(root->reloc_root != reloc_root);
2475 BUG_ON(!root);
2476 BUG_ON(!test_bit(BTRFS_ROOT_REF_COWS, &root->state));
2487 BUG_ON(next->new_bytenr);
2488 BUG_ON(!list_empty(&next->list));
2537 BUG_ON(!root);
2569 BUG_ON(reserve && node->processed);
2654 BUG_ON(lowest && node->eb);
2663 BUG_ON(!root);
2669 BUG_ON(ret);
2683 BUG_ON(ret > 0);
2689 BUG_ON(upper->eb != path->nodes[upper->level]);
2700 BUG_ON(ret);
2705 BUG_ON(bytenr != node->bytenr);
2734 BUG_ON(node->eb != eb);
2747 BUG_ON(ret);
2750 BUG_ON(ret);
2768 BUG_ON(err == -ENOSPC);
2798 BUG_ON(!node->pending);
2877 BUG_ON(block->key_ready);
2911 BUG_ON(node->processed);
2926 BUG_ON(node->new_bytenr);
2927 BUG_ON(!list_empty(&node->list));
3032 BUG_ON(cluster->start != cluster->boundary[0]);
3221 BUG_ON(cluster->nr >= MAX_EXTENTS);
3254 BUG_ON(ret > 0);
3314 BUG_ON(item_size != sizeof(struct btrfs_extent_item_v0));
3319 BUG_ON(ref_owner >= BTRFS_MAX_LEVEL);
3330 BUG_ON(level == -1);
3405 BUG_ON(ret);
3429 BUG_ON(ret);
3725 BUG_ON(key.type == BTRFS_EXTENT_REF_V0_KEY);
3964 BUG_ON(ret);
3971 BUG_ON(item_size !=
3995 BUG_ON(ret > 0);
4159 BUG_ON(err);
4165 BUG_ON(IS_ERR(inode) || is_bad_inode(inode));
4216 BUG_ON(!rc->block_group);
4445 BUG_ON(err < 0); /* -ENOMEM or logic error */
4499 BUG_ON(ordered->file_offset != file_pos || ordered->len != len);
4547 BUG_ON(rc->stage == UPDATE_DATA_PTRS &&
4565 BUG_ON(node->bytenr != buf->start &&
4610 BUG_ON(btrfs_root_refs(&root->root_item) == 0);
4658 BUG_ON(ret < 0);