Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto82 // Metadata sectors allocated for the COW device. Recording this value right
122 // Total number of sectors allocated in the COW files before performing the
124 // of sectors modified to monitor and show the progress of the merge during
128 // Total number of sectors of all the snapshot devices.
/system/core/fs_mgr/liblp/
Dimages.cpp410 uint64_t sectors = 0; in ComputePartitionSize() local
412 sectors += metadata_.extents[partition.first_extent_index + i].num_sectors; in ComputePartitionSize()
414 return sectors * LP_SECTOR_SIZE; in ComputePartitionSize()
Dbuilder.cpp164 uint64_t sectors = 0; in BytesOnDisk() local
169 sectors += extent->num_sectors(); in BytesOnDisk()
171 return sectors * LP_SECTOR_SIZE; in BytesOnDisk()
760 uint64_t sectors = std::min(sectors_needed, region.length()); in GrowPartition() local
761 CHECK(sectors % sectors_per_block == 0); in GrowPartition()
763 auto extent = std::make_unique<LinearExtent>(sectors, region.device_index, region.start); in GrowPartition()
765 sectors_needed -= sectors; in GrowPartition()
/system/core/fs_mgr/libsnapshot/
Dpower_test.cpp342 uint64_t sectors; in MapSnapshot() local
349 sectors = get_block_device_size(fd) / 512; in MapSnapshot()
353 table.Emplace<DmTargetSnapshot>(0, sectors, image_path_, cow_path_, mode, 8); in MapSnapshot()
/system/core/fs_mgr/
Dfs_mgr.cpp1241 uint64_t sectors = get_block_device_size(fd) / 512; in WrapUserdata() local
1244 table.Emplace<DmTargetLinear>(0, sectors, dev_str, 0); in WrapUserdata()