Lines Matching refs:assert
48 assert(!range->end == !range->start); in block_range_init_from_path()
62 assert(!block_range_empty(add_range)); in block_range_extend()
63 assert(!block_range_overlap(*range, add_range)); in block_range_extend()
93 assert(block_range_is_sub_range(*range, remove_range)); in block_range_shrink()
95 assert(!block_range_empty(*range)); in block_range_shrink()
98 assert(!block_range_empty(*range)); in block_range_shrink()
272 assert(!block_range_empty(range) || !range.start); in block_set_find_next_block()
280 assert(!block_range_empty(range)); in block_set_find_next_block()
388 assert(range_a.start >= range_b.start); in block_set_overlap()
398 assert(range_b.start > range_a.start); in block_set_overlap()
422 assert(!block_range_empty(range)); in block_set_add_range()
423 assert(block_range_empty(set->initial_range)); in block_set_add_range()
434 assert(!set->updating); in block_set_add_range()
438 assert(block_set_range_not_in_set(tr, set, range)); in block_set_add_range()
459 assert(!tree_range.end || !block_range_overlap(tree_range, range)); in block_set_add_range()
463 assert(!extend_left); in block_set_add_range()
474 assert(block_tree_path_get_data(&path) > new_tree_range.end); in block_set_add_range()
499 assert(set->updating); in block_set_add_range()
525 assert(!block_range_empty(range)); in block_set_remove_range()
526 assert(block_range_empty(set->initial_range)); in block_set_remove_range()
537 assert(block_set_range_in_set(tr, set, range) || tr->failed); in block_set_remove_range()
539 assert(!set->updating); in block_set_remove_range()
552 assert(path.count > 0); in block_set_remove_range()
554 assert(block_range_is_sub_range(tree_range, range)); in block_set_remove_range()
580 assert(set->updating); in block_set_remove_range()
629 assert(fs); in block_set_init()
630 assert(fs->dev); in block_set_init()
646 assert(block_range_empty(set->initial_range)); in block_set_add_initial_range()
659 assert(src->block_tree.copy_on_write); in block_set_copy()
660 assert(!src->block_tree.allow_copy_on_write); in block_set_copy()
668 assert(!block_range_empty(src->initial_range)); in block_set_copy()
671 assert(block_range_empty(src->initial_range)); in block_set_copy()