Lines Matching refs:zone_capacity
1450 cache->zone_capacity = cache->length; in btrfs_load_block_group_zone_info()
1474 cache->zone_capacity = caps[0]; in btrfs_load_block_group_zone_info()
1515 cache->zone_capacity = min(caps[0], caps[1]); in btrfs_load_block_group_zone_info()
1538 if (cache->alloc_offset > cache->zone_capacity) { in btrfs_load_block_group_zone_info()
1541 cache->alloc_offset, cache->zone_capacity, in btrfs_load_block_group_zone_info()
1585 (cache->length - cache->zone_capacity); in btrfs_calc_zone_unusable()
1586 free = cache->zone_capacity - cache->alloc_offset; in btrfs_calc_zone_unusable()
2023 block_group->alloc_offset = block_group->zone_capacity; in do_zone_finish()
2122 block_group->start + block_group->zone_capacity) in btrfs_zone_finish_endio()
2146 eb->start + eb->len * 2 <= bg->start + bg->zone_capacity) in btrfs_schedule_zone_finish_bg()
2265 avail = block_group->zone_capacity - block_group->alloc_offset; in btrfs_zone_finish_one_bg()