Searched refs:cow_creator (Results 1 – 4 of 4) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 375 bool SnapshotManager::CreateSnapshot(LockedFile* lock, PartitionCowCreator* cow_creator, in CreateSnapshot() argument 417 status->set_using_snapuserd(cow_creator->using_snapuserd); in CreateSnapshot() 418 status->set_compression_algorithm(cow_creator->compression_algorithm); in CreateSnapshot() 419 status->set_compression_factor(cow_creator->compression_factor); in CreateSnapshot() 420 status->set_read_ahead_size(cow_creator->read_ahead_size); in CreateSnapshot() 421 if (cow_creator->enable_threading) { in CreateSnapshot() 422 status->set_enable_threading(cow_creator->enable_threading); in CreateSnapshot() 424 if (cow_creator->batched_writes) { in CreateSnapshot() 425 status->set_batched_writes(cow_creator->batched_writes); in CreateSnapshot() 3322 PartitionCowCreator cow_creator{ in CreateUpdateSnapshots() local [all …]
|
D | snapshot_test.cpp | 539 PartitionCowCreator cow_creator; in TEST_F() local 540 cow_creator.using_snapuserd = snapuserd_required_; in TEST_F() 541 if (cow_creator.using_snapuserd) { in TEST_F() 542 cow_creator.compression_algorithm = FLAGS_compression_method; in TEST_F() 544 cow_creator.compression_algorithm = "none"; in TEST_F() 553 ASSERT_TRUE(sm->CreateSnapshot(lock_.get(), &cow_creator, &status)); in TEST_F() 568 ASSERT_EQ(status.using_snapuserd(), cow_creator.using_snapuserd); in TEST_F() 569 ASSERT_EQ(status.compression_algorithm(), cow_creator.compression_algorithm); in TEST_F() 580 PartitionCowCreator cow_creator; in TEST_F() local 581 cow_creator.using_snapuserd = snapuserd_required_; in TEST_F() [all …]
|
D | snapshotctl.cpp | 368 PartitionCowCreator cow_creator; in CreateSnapshotDevice() local 369 cow_creator.using_snapuserd = true; in CreateSnapshotDevice() 371 if (!sm_->CreateSnapshot(lock_.get(), &cow_creator, &status)) { in CreateSnapshotDevice()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 501 bool CreateSnapshot(LockedFile* lock, PartitionCowCreator* cow_creator, SnapshotStatus* status); 744 PartitionCowCreator* cow_creator, AutoDeviceList* created_devices,
|