Searched refs:sectors (Results 1 – 6 of 6) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | dm_snapshot_internals.h | 58 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()
|
D | power_test.cpp | 342 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/ |
D | snapshot.proto | 94 // 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/ |
D | images.cpp | 410 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()
|
D | builder.cpp | 164 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/ |
D | fs_mgr.cpp | 1296 uint64_t sectors = get_block_device_size(fd) / 512; in WrapUserdata() local 1299 table.Emplace<DmTargetLinear>(0, sectors, dev_str, 0); in WrapUserdata()
|