Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.cpp218 uint64_t cow_partition_size = std::min(cow_size, free_region_length); in Run() local
221 cow_partition_size &= ~(logical_block_size - 1); in Run()
222 ret.snapshot_status.set_cow_partition_size(cow_partition_size); in Run()
226 auto cow_file_size = cow_size - cow_partition_size; in Run()
Dsnapshot.cpp319 if (status->cow_partition_size() % kSectorSize != 0) { in CreateSnapshot()
322 << status->cow_partition_size(); in CreateSnapshot()
1648 live_snapshot_status->cow_partition_size() + live_snapshot_status->cow_file_size() == in MapPartitionWithSnapshot()
1653 << ", cow_partition_size = " << live_snapshot_status->cow_partition_size() in MapPartitionWithSnapshot()
1754 CHECK(snapshot_status.cow_partition_size() + snapshot_status.cow_file_size() > 0); in MapCowDevices()
1776 if (snapshot_status.cow_partition_size() == 0) { in MapCowDevices()
1786 CHECK(snapshot_status.cow_partition_size() > 0); in MapCowDevices()
1805 auto cow_partition_sectors = snapshot_status.cow_partition_size() / kSectorSize; in MapCowDevices()
2301 << cow_creator_ret->snapshot_status.cow_partition_size() in CreateUpdateSnapshotsInternal()
2314 bool needs_cow = (cow_creator_ret->snapshot_status.cow_partition_size() + in CreateUpdateSnapshotsInternal()
[all …]
Dpartition_cow_creator_test.cpp153 return ret->snapshot_status.cow_file_size() + ret->snapshot_status.cow_partition_size(); in TEST_F()
222 ASSERT_EQ(0u, ret->snapshot_status.cow_partition_size()); in TEST_F()
/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto64 // |cow_partition_size + cow_file_size| must not be zero if |snapshot_size|
66 uint64 cow_partition_size = 5; field
72 // This value is 0 if |cow_partition_size| is big enough to hold all changes