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);
1859 BUG_ON(ret);
1884 BUG_ON(ret);
1903 BUG_ON(ret);
1907 BUG_ON(ret);
1913 BUG_ON(ret);
1918 BUG_ON(ret);
2009 BUG_ON(btrfs_header_level(eb) != i - 1);
2145 BUG_ON(level == 0);
2213 BUG_ON(level == 0);
2313 BUG_ON(IS_ERR(root));
2314 BUG_ON(root->reloc_root != reloc_root);
2380 BUG_ON(IS_ERR(root));
2381 BUG_ON(root->reloc_root != reloc_root);
2429 BUG_ON(!RB_EMPTY_ROOT(&rc->reloc_root_tree.rb_root));
2452 BUG_ON(IS_ERR(root));
2453 BUG_ON(root->reloc_root != reloc_root);
2473 BUG_ON(!root);
2474 BUG_ON(!test_bit(BTRFS_ROOT_REF_COWS, &root->state));
2485 BUG_ON(next->new_bytenr);
2486 BUG_ON(!list_empty(&next->list));
2536 BUG_ON(!root);
2568 BUG_ON(reserve && node->processed);
2653 BUG_ON(lowest && node->eb);
2662 BUG_ON(!root);
2668 BUG_ON(ret);
2682 BUG_ON(ret > 0);
2688 BUG_ON(upper->eb != path->nodes[upper->level]);
2699 BUG_ON(ret);
2704 BUG_ON(bytenr != node->bytenr);
2730 BUG_ON(node->eb != eb);
2743 BUG_ON(ret);
2746 BUG_ON(ret);
2764 BUG_ON(err == -ENOSPC);
2794 BUG_ON(!node->pending);
2873 BUG_ON(block->key_ready);
2905 BUG_ON(node->processed);
2920 BUG_ON(node->new_bytenr);
2921 BUG_ON(!list_empty(&node->list));
3026 BUG_ON(cluster->start != cluster->boundary[0]);
3215 BUG_ON(cluster->nr >= MAX_EXTENTS);
3248 BUG_ON(ret > 0);
3308 BUG_ON(item_size != sizeof(struct btrfs_extent_item_v0));
3313 BUG_ON(ref_owner >= BTRFS_MAX_LEVEL);
3324 BUG_ON(level == -1);
3399 BUG_ON(ret);
3423 BUG_ON(ret);
3719 BUG_ON(key.type == BTRFS_EXTENT_REF_V0_KEY);
3959 BUG_ON(ret);
3966 BUG_ON(item_size !=
3986 BUG_ON(ret > 0);
4150 BUG_ON(err);
4156 BUG_ON(IS_ERR(inode) || is_bad_inode(inode));
4207 BUG_ON(!rc->block_group);
4438 BUG_ON(err < 0); /* -ENOMEM or logic error */
4492 BUG_ON(ordered->file_offset != file_pos || ordered->len != len);
4540 BUG_ON(rc->stage == UPDATE_DATA_PTRS &&
4558 BUG_ON(node->bytenr != buf->start &&
4604 BUG_ON(btrfs_root_refs(&root->root_item) == 0);
4652 BUG_ON(ret < 0);