Lines Matching refs:ASSERT

99 		ASSERT(0);  in search_free_space_info()
123 ASSERT(0); in btrfs_search_prev_slot()
128 ASSERT(0); in btrfs_search_prev_slot()
227 ASSERT(found_key.objectid == block_group->key.objectid); in convert_free_space_to_bitmaps()
228 ASSERT(found_key.offset == block_group->key.offset); in convert_free_space_to_bitmaps()
234 ASSERT(found_key.objectid >= start); in convert_free_space_to_bitmaps()
235 ASSERT(found_key.objectid < end); in convert_free_space_to_bitmaps()
236 ASSERT(found_key.objectid + found_key.offset <= end); in convert_free_space_to_bitmaps()
248 ASSERT(0); in convert_free_space_to_bitmaps()
276 ASSERT(0); in convert_free_space_to_bitmaps()
366 ASSERT(found_key.objectid == block_group->key.objectid); in convert_free_space_to_extents()
367 ASSERT(found_key.offset == block_group->key.offset); in convert_free_space_to_extents()
375 ASSERT(found_key.objectid >= start); in convert_free_space_to_extents()
376 ASSERT(found_key.objectid < end); in convert_free_space_to_extents()
377 ASSERT(found_key.objectid + found_key.offset <= end); in convert_free_space_to_extents()
393 ASSERT(0); in convert_free_space_to_extents()
421 ASSERT(start_bit < end_bit); in convert_free_space_to_extents()
442 ASSERT(0); in convert_free_space_to_extents()
504 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in free_space_test_bit()
508 ASSERT(offset >= found_start && offset < found_end); in free_space_test_bit()
529 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in free_space_set_bits()
533 ASSERT(*start >= found_start && *start < found_end); in free_space_set_bits()
534 ASSERT(end > found_start); in free_space_set_bits()
718 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in remove_free_space_extent()
722 ASSERT(start >= found_start && end <= found_end); in remove_free_space_extent()
830 ASSERT(0); in remove_from_free_space_tree()
896 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
903 ASSERT(found_start >= block_group->key.objectid && in add_free_space_extent()
905 ASSERT(found_start < start && found_end <= start); in add_free_space_extent()
936 ASSERT(key.type == BTRFS_FREE_SPACE_INFO_KEY); in add_free_space_extent()
943 ASSERT(found_start >= block_group->key.objectid && in add_free_space_extent()
945 ASSERT((found_start < start && found_end <= start) || in add_free_space_extent()
1023 ASSERT(0); in add_to_free_space_tree()
1085 ASSERT(ret == 0); in populate_free_space_tree()
1358 ASSERT(found_key.objectid == block_group->key.objectid); in remove_block_group_free_space()
1359 ASSERT(found_key.offset == block_group->key.offset); in remove_block_group_free_space()
1366 ASSERT(found_key.objectid >= start); in remove_block_group_free_space()
1367 ASSERT(found_key.objectid < end); in remove_block_group_free_space()
1368 ASSERT(found_key.objectid + found_key.offset <= end); in remove_block_group_free_space()
1372 ASSERT(0); in remove_block_group_free_space()
1424 ASSERT(key.type == BTRFS_FREE_SPACE_BITMAP_KEY); in load_free_space_bitmaps()
1425 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_bitmaps()
1459 ASSERT(0); in load_free_space_bitmaps()
1502 ASSERT(key.type == BTRFS_FREE_SPACE_EXTENT_KEY); in load_free_space_extents()
1503 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_extents()
1521 ASSERT(0); in load_free_space_extents()