Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Ddm_snapshot_internals.h58 auto sectors = cow_size_sectors(); in cow_size_bytes() local
59 if (!sectors) { in cow_size_bytes()
62 return sectors.value() * sector_bytes_; in cow_size_bytes()
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/libsnapshot/android/snapshot/
Dsnapshot.proto94 // Metadata sectors allocated for the COW device. Recording this value right
174 // Total number of sectors allocated in the COW files before performing the
176 // of sectors modified to monitor and show the progress of the merge during
180 // 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()
755 uint64_t sectors = std::min(sectors_needed, region.length()); in GrowPartition() local
756 CHECK(sectors % sectors_per_block == 0); in GrowPartition()
758 auto extent = std::make_unique<LinearExtent>(sectors, region.device_index, region.start); in GrowPartition()
760 sectors_needed -= sectors; in GrowPartition()
/system/core/fs_mgr/
Dfs_mgr.cpp1296 uint64_t sectors = get_block_device_size(fd) / 512; in WrapUserdata() local
1299 table.Emplace<DmTargetLinear>(0, sectors, dev_str, 0); in WrapUserdata()