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()
549 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in free_space_set_bits()
553 ASSERT(*start >= found_start && *start < found_end); in free_space_set_bits()
554 ASSERT(end > found_start); in free_space_set_bits()
738 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in remove_free_space_extent()
742 ASSERT(start >= found_start && end <= found_end); in remove_free_space_extent()
850 ASSERT(0); in remove_from_free_space_tree()
916 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
923 ASSERT(found_start >= block_group->start && in add_free_space_extent()
925 ASSERT(found_start < start && found_end <= start); in add_free_space_extent()
956 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
963 ASSERT(found_start >= block_group->start && in add_free_space_extent()
965 ASSERT((found_start < start && found_end <= start) || in add_free_space_extent()
1043 ASSERT(0); in add_to_free_space_tree()
1106 ASSERT(ret == 0); in populate_free_space_tree()
1392 ASSERT(found_key.objectid == block_group->start); in remove_block_group_free_space()
1393 ASSERT(found_key.offset == block_group->length); in remove_block_group_free_space()
1400 ASSERT(found_key.objectid >= start); in remove_block_group_free_space()
1401 ASSERT(found_key.objectid < end); in remove_block_group_free_space()
1402 ASSERT(found_key.objectid + found_key.offset <= end); in remove_block_group_free_space()
1406 ASSERT(0); in remove_block_group_free_space()
1458 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in load_free_space_bitmaps()
1459 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_bitmaps()
1491 ASSERT(0); in load_free_space_bitmaps()
1532 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in load_free_space_extents()
1533 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_extents()
1549 ASSERT(0); in load_free_space_extents()