Lines Matching refs:ASSERT

102 		ASSERT(0);  in search_free_space_info()
126 ASSERT(0); in btrfs_search_prev_slot()
131 ASSERT(0); in btrfs_search_prev_slot()
230 ASSERT(found_key.objectid == block_group->start); in convert_free_space_to_bitmaps()
231 ASSERT(found_key.offset == block_group->length); in convert_free_space_to_bitmaps()
237 ASSERT(found_key.objectid >= start); in convert_free_space_to_bitmaps()
238 ASSERT(found_key.objectid < end); in convert_free_space_to_bitmaps()
239 ASSERT(found_key.objectid + found_key.offset <= end); in convert_free_space_to_bitmaps()
251 ASSERT(0); in convert_free_space_to_bitmaps()
279 ASSERT(0); in convert_free_space_to_bitmaps()
367 ASSERT(found_key.objectid == block_group->start); in convert_free_space_to_extents()
368 ASSERT(found_key.offset == block_group->length); in convert_free_space_to_extents()
376 ASSERT(found_key.objectid >= start); in convert_free_space_to_extents()
377 ASSERT(found_key.objectid < end); in convert_free_space_to_extents()
378 ASSERT(found_key.objectid + found_key.offset <= end); in convert_free_space_to_extents()
394 ASSERT(0); in convert_free_space_to_extents()
422 ASSERT(start_bit < end_bit); in convert_free_space_to_extents()
443 ASSERT(0); in convert_free_space_to_extents()
505 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in free_space_test_bit()
509 ASSERT(offset >= found_start && offset < found_end); in free_space_test_bit()
530 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in free_space_set_bits()
534 ASSERT(*start >= found_start && *start < found_end); in free_space_set_bits()
535 ASSERT(end > found_start); in free_space_set_bits()
719 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in remove_free_space_extent()
723 ASSERT(start >= found_start && end <= found_end); in remove_free_space_extent()
831 ASSERT(0); in remove_from_free_space_tree()
897 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
904 ASSERT(found_start >= block_group->start && in add_free_space_extent()
906 ASSERT(found_start < start && found_end <= start); in add_free_space_extent()
937 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
944 ASSERT(found_start >= block_group->start && in add_free_space_extent()
946 ASSERT((found_start < start && found_end <= start) || in add_free_space_extent()
1024 ASSERT(0); in add_to_free_space_tree()
1086 ASSERT(ret == 0); in populate_free_space_tree()
1363 ASSERT(found_key.objectid == block_group->start); in remove_block_group_free_space()
1364 ASSERT(found_key.offset == block_group->length); in remove_block_group_free_space()
1371 ASSERT(found_key.objectid >= start); in remove_block_group_free_space()
1372 ASSERT(found_key.objectid < end); in remove_block_group_free_space()
1373 ASSERT(found_key.objectid + found_key.offset <= end); in remove_block_group_free_space()
1377 ASSERT(0); in remove_block_group_free_space()
1429 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in load_free_space_bitmaps()
1430 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_bitmaps()
1464 ASSERT(0); in load_free_space_bitmaps()
1507 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in load_free_space_extents()
1508 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_extents()
1526 ASSERT(0); in load_free_space_extents()