Home
last modified time | relevance | path

Searched refs:cow_file_size (Results 1 – 9 of 9) 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;
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;
Dmock_snapshot_merge_stats.h39 MOCK_METHOD(uint64_t, cow_file_size, (), (override));
/system/core/fs_mgr/libsnapshot/
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()
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()
Dsnapshot.cpp358 if (status->cow_file_size() % kSectorSize != 0) { in CreateSnapshot()
361 << status->cow_file_size(); in CreateSnapshot()
389 if (status.cow_file_size() % kSectorSize != 0) { in CreateCowImage()
391 << status.cow_file_size(); in CreateCowImage()
397 return Return(images_->CreateBackingImage(cow_image_name, status.cow_file_size(), cow_flags)); in CreateCowImage()
2015 live_snapshot_status->cow_partition_size() + live_snapshot_status->cow_file_size() == in MapPartitionWithSnapshot()
2021 << ", cow_file_size = " << live_snapshot_status->cow_file_size(); in MapPartitionWithSnapshot()
2184 CHECK(snapshot_status.cow_partition_size() + snapshot_status.cow_file_size() > 0); in MapCowDevices()
2194 if (snapshot_status.cow_file_size() > 0) { in MapCowDevices()
2229 if (snapshot_status.cow_file_size() > 0) { in MapCowDevices()
[all …]
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()
Dsnapshot_stub.cpp128 uint64_t cow_file_size() override { return 0; } in cow_file_size() function in android::snapshot::SnapshotMergeStatsStub
/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto76 // |cow_partition_size + cow_file_size| must not be zero if |snapshot_size|
86 uint64 cow_file_size = 6; field
209 uint64 cow_file_size = 3; field
/system/update_engine/aosp/
Dcleanup_previous_update_action.cc494 << " times), using " << report.cow_file_size() in ReportMergeStats()
501 static_cast<int64_t>(report.cow_file_size()), in ReportMergeStats()