Lines Matching refs:end
193 u64 start, end; in convert_free_space_to_bitmaps() local
209 end = block_group->key.objectid + block_group->key.offset; in convert_free_space_to_bitmaps()
211 key.objectid = end - 1; 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()
284 while (i < end) { in convert_free_space_to_bitmaps()
289 extent_size = min(end - i, bitmap_range); in convert_free_space_to_bitmaps()
332 u64 start, end; in convert_free_space_to_extents() local
348 end = block_group->key.objectid + block_group->key.offset; in convert_free_space_to_extents()
350 key.objectid = end - 1; 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()
523 u64 end = *start + *size; in free_space_set_bits() local
534 ASSERT(end > found_start); in free_space_set_bits()
536 if (end > found_end) in free_space_set_bits()
537 end = found_end; in free_space_set_bits()
541 last = div_u64(end - found_start, fs_info->sectorsize); in free_space_set_bits()
548 *size -= end - *start; in free_space_set_bits()
549 *start = end; in free_space_set_bits()
590 u64 end = start + size; in modify_free_space_bitmap() local
652 if (end < block_group->key.objectid + block_group->key.offset) { in modify_free_space_bitmap()
655 if (end >= key.objectid + key.offset) { in modify_free_space_bitmap()
661 next_bit = free_space_test_bit(block_group, path, end); in modify_free_space_bitmap()
704 u64 end = start + size; in remove_free_space_extent() local
722 ASSERT(start >= found_start && end <= found_end); in remove_free_space_extent()
762 if (end < found_end) { in remove_free_space_extent()
763 key.objectid = end; in remove_free_space_extent()
765 key.offset = found_end - end; in remove_free_space_extent()
856 u64 end = start + size; in add_free_space_extent() local
923 if (end == block_group->key.objectid + block_group->key.offset) in add_free_space_extent()
925 key.objectid = end; in add_free_space_extent()
946 (found_start >= end && found_end > end)); in add_free_space_extent()
952 if (found_start == end) { in add_free_space_extent()
1051 u64 start, end; in populate_free_space_tree() local
1088 end = block_group->key.objectid + block_group->key.offset; in populate_free_space_tree()
1094 if (key.objectid >= end) in populate_free_space_tree()
1122 if (start < end) { in populate_free_space_tree()
1124 start, end - start); in populate_free_space_tree()
1321 u64 start, end; in remove_block_group_free_space() local
1340 end = block_group->key.objectid + block_group->key.offset; in remove_block_group_free_space()
1342 key.objectid = end - 1; 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()
1401 u64 end, offset; in load_free_space_bitmaps() local
1410 end = block_group->key.objectid + block_group->key.offset; in load_free_space_bitmaps()
1425 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_bitmaps()
1450 end); in load_free_space_bitmaps()
1479 u64 end; in load_free_space_extents() local
1488 end = block_group->key.objectid + block_group->key.offset; in load_free_space_extents()
1503 ASSERT(key.objectid < end && key.objectid + key.offset <= end); in load_free_space_extents()