Home
last modified time | relevance | path

Searched refs:sectors (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/liblp/
Dimages.cpp376 uint64_t sectors = 0; in ComputePartitionSize() local
378 sectors += metadata_.extents[partition.first_extent_index + i].num_sectors; in ComputePartitionSize()
380 return sectors * LP_SECTOR_SIZE; in ComputePartitionSize()
Dbuilder.cpp105 uint64_t sectors = 0; in BytesOnDisk() local
110 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() local
630 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()