Lines Matching refs:ASSERT
116 ASSERT(0); in search_free_space_info()
140 ASSERT(0); in btrfs_search_prev_slot()
145 ASSERT(0); in btrfs_search_prev_slot()
244 ASSERT(found_key.objectid == block_group->start); in convert_free_space_to_bitmaps()
245 ASSERT(found_key.offset == block_group->length); in convert_free_space_to_bitmaps()
251 ASSERT(found_key.objectid >= start); in convert_free_space_to_bitmaps()
252 ASSERT(found_key.objectid < end); in convert_free_space_to_bitmaps()
253 ASSERT(found_key.objectid + found_key.offset <= end); in convert_free_space_to_bitmaps()
265 ASSERT(0); in convert_free_space_to_bitmaps()
293 ASSERT(0); in convert_free_space_to_bitmaps()
381 ASSERT(found_key.objectid == block_group->start); in convert_free_space_to_extents()
382 ASSERT(found_key.offset == block_group->length); in convert_free_space_to_extents()
390 ASSERT(found_key.objectid >= start); in convert_free_space_to_extents()
391 ASSERT(found_key.objectid < end); in convert_free_space_to_extents()
392 ASSERT(found_key.objectid + found_key.offset <= end); in convert_free_space_to_extents()
408 ASSERT(0); in convert_free_space_to_extents()
436 ASSERT(start_bit < end_bit); in convert_free_space_to_extents()
457 ASSERT(0); in convert_free_space_to_extents()
519 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in free_space_test_bit()
523 ASSERT(offset >= found_start && offset < found_end); in free_space_test_bit()
544 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in free_space_set_bits()
548 ASSERT(*start >= found_start && *start < found_end); in free_space_set_bits()
549 ASSERT(end > found_start); in free_space_set_bits()
733 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in remove_free_space_extent()
737 ASSERT(start >= found_start && end <= found_end); in remove_free_space_extent()
845 ASSERT(0); in remove_from_free_space_tree()
911 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
918 ASSERT(found_start >= block_group->start && in add_free_space_extent()
920 ASSERT(found_start < start && found_end <= start); in add_free_space_extent()
951 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
958 ASSERT(found_start >= block_group->start && in add_free_space_extent()
960 ASSERT((found_start < start && found_end <= start) || in add_free_space_extent()
1038 ASSERT(0); in add_to_free_space_tree()
1101 ASSERT(ret == 0); in populate_free_space_tree()
1387 ASSERT(found_key.objectid == block_group->start); in remove_block_group_free_space()
1388 ASSERT(found_key.offset == block_group->length); in remove_block_group_free_space()
1395 ASSERT(found_key.objectid >= start); in remove_block_group_free_space()
1396 ASSERT(found_key.objectid < end); in remove_block_group_free_space()
1397 ASSERT(found_key.objectid + found_key.offset <= end); in remove_block_group_free_space()
1401 ASSERT(0); in remove_block_group_free_space()
1453 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in load_free_space_bitmaps()
1454 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_bitmaps()
1486 ASSERT(0); in load_free_space_bitmaps()
1527 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in load_free_space_extents()
1528 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_extents()
1544 ASSERT(0); in load_free_space_extents()