Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_stats.h32 virtual void set_cow_file_size(uint64_t cow_file_size) = 0;
33 virtual uint64_t cow_file_size() = 0;
55 void set_cow_file_size(uint64_t cow_file_size) override;
56 uint64_t cow_file_size() override;
Dsnapshot_stub.h30 bool InitiateMerge(uint64_t* cow_file_size = nullptr) override;
Dmock_snapshot.h28 MOCK_METHOD(bool, InitiateMerge, (uint64_t * cow_file_size), (override));
Dsnapshot.h127 virtual bool InitiateMerge(uint64_t* cow_file_size = nullptr) = 0;
284 bool InitiateMerge(uint64_t* cow_file_size = nullptr) override;
/system/core/fs_mgr/libsnapshot/
Dsnapshot_stats.cpp91 void SnapshotMergeStats::set_cow_file_size(uint64_t cow_file_size) { in set_cow_file_size() argument
92 report_.set_cow_file_size(cow_file_size); in set_cow_file_size()
96 uint64_t SnapshotMergeStats::cow_file_size() { in cow_file_size() function in android::snapshot::SnapshotMergeStats
97 return report_.cow_file_size(); in cow_file_size()
Dpartition_cow_creator.cpp226 auto cow_file_size = cow_size - cow_partition_size; in Run() local
228 cow_file_size += kSectorSize - 1; in Run()
229 cow_file_size &= ~(kSectorSize - 1); in Run()
230 ret.snapshot_status.set_cow_file_size(cow_file_size); in Run()
Dsnapshot.cpp325 if (status->cow_file_size() % kSectorSize != 0) { in CreateSnapshot()
328 << status->cow_file_size(); in CreateSnapshot()
354 if (status.cow_file_size() % kSectorSize != 0) { in CreateCowImage()
356 << status.cow_file_size(); in CreateCowImage()
362 return Return(images_->CreateBackingImage(cow_image_name, status.cow_file_size(), cow_flags)); in CreateCowImage()
557 bool SnapshotManager::InitiateMerge(uint64_t* cow_file_size) { in InitiateMerge() argument
635 total_cow_file_size += snapshot_status.cow_file_size(); in InitiateMerge()
638 if (cow_file_size) { in InitiateMerge()
639 *cow_file_size = total_cow_file_size; in InitiateMerge()
1648 live_snapshot_status->cow_partition_size() + live_snapshot_status->cow_file_size() == in MapPartitionWithSnapshot()
[all …]
Dsnapshot_stub.cpp122 uint64_t cow_file_size() override { return 0; } in cow_file_size() function in android::snapshot::SnapshotMergeStatsStub
Dpartition_cow_creator_test.cpp153 return ret->snapshot_status.cow_file_size() + ret->snapshot_status.cow_partition_size(); in TEST_F()
221 ASSERT_EQ(0u, ret->snapshot_status.cow_file_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|
74 uint64 cow_file_size = 6; field
145 uint64 cow_file_size = 3; field