Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp409 uint64_t snapshot_sectors = status.snapshot_size() / kSectorSize; in MapSnapshot() local
442 table.Emplace<DmTargetSnapshot>(0, snapshot_sectors, base_device, cow_device, mode, in MapSnapshot()
461 table.Emplace<DmTargetLinear>(0, snapshot_sectors, snap_dev, 0); in MapSnapshot()
462 table.Emplace<DmTargetLinear>(snapshot_sectors, linear_sectors, base_device, in MapSnapshot()
463 snapshot_sectors); in MapSnapshot()
1118 uint64_t snapshot_sectors = status.snapshot_size() / kSectorSize; in CollapseSnapshotDevice() local
1119 if (snapshot_sectors * kSectorSize != status.snapshot_size()) { in CollapseSnapshotDevice()
1147 if (outer_table[0].spec.length != snapshot_sectors) { in CollapseSnapshotDevice()
1148 LOG(ERROR) << "dm-snapshot " << name << " should have " << snapshot_sectors in CollapseSnapshotDevice()