Home
last modified time | relevance | path

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

/aosp12/system/core/fs_mgr/libsnapshot/include/libsnapshot/
H A Dsnapshot_stats.h32 virtual void set_cow_file_size(uint64_t cow_file_size) = 0;
39 virtual uint64_t cow_file_size() = 0;
71 void set_cow_file_size(uint64_t cow_file_size) override;
72 uint64_t cow_file_size() override;
H A Dmock_snapshot_merge_stats.h39 MOCK_METHOD(uint64_t, cow_file_size, (), (override));
/aosp12/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_stats.cpp92 void SnapshotMergeStats::set_cow_file_size(uint64_t cow_file_size) { in set_cow_file_size() argument
93 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()
H A Dpartition_cow_creator.cpp254 auto cow_file_size = cow_size.value() - cow_partition_size; in Run() local
256 cow_file_size += kSectorSize - 1; in Run()
257 cow_file_size &= ~(kSectorSize - 1); in Run()
258 ret.snapshot_status.set_cow_file_size(cow_file_size); in Run()
H A Dsnapshot.cpp361 if (status->cow_file_size() % kSectorSize != 0) { in CreateSnapshot()
364 << status->cow_file_size(); in CreateSnapshot()
392 if (status.cow_file_size() % kSectorSize != 0) { in CreateCowImage()
394 << status.cow_file_size(); in CreateCowImage()
2225 if (snapshot_status.cow_file_size() > 0) { in MapCowDevices()
2260 if (snapshot_status.cow_file_size() > 0) { in MapCowDevices()
2730 sum += status.cow_file_size(); in AddRequiredSpace()
3032 if (snapshot_status.cow_file_size() > 0) { in CreateUpdateSnapshotsInternal()
3743 uint64_t cow_file_size = 0; in UpdateCowStats() local
3752 cow_file_size += status.cow_file_size(); in UpdateCowStats()
[all …]
H A Dpartition_cow_creator_test.cpp161 return ret->snapshot_status.cow_file_size() + ret->snapshot_status.cow_partition_size(); in TEST_F()
229 ASSERT_EQ(0u, ret->snapshot_status.cow_file_size()); in TEST_F()
257 ASSERT_EQ(ret->snapshot_status.cow_file_size(), 1458176); in TEST_F()
H A Dsnapshot_stub.cpp128 uint64_t cow_file_size() override { return 0; } in cow_file_size() function in android::snapshot::SnapshotMergeStatsStub
/aosp12/system/core/fs_mgr/libsnapshot/android/snapshot/
H A Dsnapshot.proto76 // |cow_partition_size + cow_file_size| must not be zero if |snapshot_size|
86 uint64 cow_file_size = 6;
209 uint64 cow_file_size = 3;
/aosp12/system/update_engine/aosp/
H A Dcleanup_previous_update_action.cc494 << " times), using " << report.cow_file_size() in ReportMergeStats()
501 static_cast<int64_t>(report.cow_file_size()), in ReportMergeStats()