Lines Matching refs:ASSERT

121 		ASSERT(0);  in search_free_space_info()
145 ASSERT(0); in btrfs_search_prev_slot()
150 ASSERT(0); in btrfs_search_prev_slot()
249 ASSERT(found_key.objectid == block_group->start); in convert_free_space_to_bitmaps()
250 ASSERT(found_key.offset == block_group->length); in convert_free_space_to_bitmaps()
256 ASSERT(found_key.objectid >= start); in convert_free_space_to_bitmaps()
257 ASSERT(found_key.objectid < end); in convert_free_space_to_bitmaps()
258 ASSERT(found_key.objectid + found_key.offset <= end); in convert_free_space_to_bitmaps()
270 ASSERT(0); in convert_free_space_to_bitmaps()
298 ASSERT(0); in convert_free_space_to_bitmaps()
386 ASSERT(found_key.objectid == block_group->start); in convert_free_space_to_extents()
387 ASSERT(found_key.offset == block_group->length); in convert_free_space_to_extents()
395 ASSERT(found_key.objectid >= start); in convert_free_space_to_extents()
396 ASSERT(found_key.objectid < end); in convert_free_space_to_extents()
397 ASSERT(found_key.objectid + found_key.offset <= end); in convert_free_space_to_extents()
413 ASSERT(0); in convert_free_space_to_extents()
441 ASSERT(start_bit < end_bit); in convert_free_space_to_extents()
462 ASSERT(0); in convert_free_space_to_extents()
524 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in free_space_test_bit()
528 ASSERT(offset >= found_start && offset < found_end); in free_space_test_bit()
550 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in free_space_set_bits()
554 ASSERT(*start >= found_start && *start < found_end); in free_space_set_bits()
555 ASSERT(end > found_start); in free_space_set_bits()
739 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in remove_free_space_extent()
743 ASSERT(start >= found_start && end <= found_end); in remove_free_space_extent()
851 ASSERT(0); in remove_from_free_space_tree()
917 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
924 ASSERT(found_start >= block_group->start && in add_free_space_extent()
926 ASSERT(found_start < start && found_end <= start); in add_free_space_extent()
957 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
964 ASSERT(found_start >= block_group->start && in add_free_space_extent()
966 ASSERT((found_start < start && found_end <= start) || in add_free_space_extent()
1044 ASSERT(0); in add_to_free_space_tree()
1107 ASSERT(ret == 0); in populate_free_space_tree()
1444 ASSERT(found_key.objectid == block_group->start); in remove_block_group_free_space()
1445 ASSERT(found_key.offset == block_group->length); in remove_block_group_free_space()
1452 ASSERT(found_key.objectid >= start); in remove_block_group_free_space()
1453 ASSERT(found_key.objectid < end); in remove_block_group_free_space()
1454 ASSERT(found_key.objectid + found_key.offset <= end); in remove_block_group_free_space()
1458 ASSERT(0); in remove_block_group_free_space()
1510 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in load_free_space_bitmaps()
1511 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_bitmaps()
1550 ASSERT(0); in load_free_space_bitmaps()
1593 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in load_free_space_extents()
1594 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_extents()
1614 ASSERT(0); in load_free_space_extents()