Searched refs:sectors (Results 1 – 2 of 2) sorted by relevance
376 uint64_t sectors = 0; in ComputePartitionSize() local378 sectors += metadata_.extents[partition.first_extent_index + i].num_sectors; in ComputePartitionSize()380 return sectors * LP_SECTOR_SIZE; in ComputePartitionSize()
105 uint64_t sectors = 0; in BytesOnDisk() local110 sectors += extent->num_sectors(); in BytesOnDisk()112 return sectors * LP_SECTOR_SIZE; in BytesOnDisk()629 uint64_t sectors = std::min(sectors_needed, region.length()); in GrowPartition() local630 CHECK(sectors % sectors_per_block == 0); in GrowPartition()632 auto extent = std::make_unique<LinearExtent>(sectors, region.device_index, region.start); in GrowPartition()634 sectors_needed -= sectors; in GrowPartition()