Home
last modified time | relevance | path

Searched refs:AddZeroBlocks (Results 1 – 11 of 11) sorted by relevance

/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dcow_api_test.cpp119 ASSERT_TRUE(writer.AddZeroBlocks(51, 2)); in TEST_F()
197 ASSERT_TRUE(writer.AddZeroBlocks(51, 2)); in TEST_F()
598 ASSERT_TRUE(writer.AddZeroBlocks(51, 2)); in TEST_F()
695 ASSERT_TRUE(writer->AddZeroBlocks(51, 1)); in TEST_F()
794 ASSERT_TRUE(writer->AddZeroBlocks(50, 2)); in TEST_F()
882 ASSERT_TRUE(writer->AddZeroBlocks(50, 2)); // Cluster split in middle in TEST_F()
1261 ASSERT_TRUE(writer.AddZeroBlocks(1, seq_len)); in TEST_F()
1293 ASSERT_TRUE(writer.AddZeroBlocks(1, seq_len - 1)); in TEST_F()
1314 ASSERT_TRUE(writer->AddZeroBlocks(1, seq_len / 2)); in TEST_F()
1316 ASSERT_TRUE(writer->AddZeroBlocks(1 + seq_len / 2, 1)); in TEST_F()
[all …]
Dcow_writer.cpp110 bool ICowWriter::AddZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) { in AddZeroBlocks() function in android::snapshot::ICowWriter
/system/update_engine/payload_consumer/
Dcow_writer_file_descriptor_unittest.cc83 ASSERT_TRUE(cow_writer->AddZeroBlocks(1, 2)); in TEST_F()
Dvabc_partition_writer.cc267 cow_writer_->AddZeroBlocks(extent.start_block(), extent.num_blocks())); in PerformZeroOrDiscardOperation()
/system/update_engine/payload_generator/
Dcow_size_estimator.cc112 cow_writer->AddZeroBlocks(ext.start_block(), ext.num_blocks()); in CowDryRun()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_writer.cpp133 return cow_->AddZeroBlocks(new_block_start, num_blocks); in EmitZeroBlocks()
Dsnapshot_reader_test.cpp71 ASSERT_TRUE(writer->AddZeroBlocks(7, 2)); in WriteCow()
Dsnapshot_test.cpp1393 ASSERT_TRUE(writer->AddZeroBlocks(0, 1)); in TEST_F()
1394 ASSERT_TRUE(writer->AddZeroBlocks(0, 1)); in TEST_F()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dcow_writer.h81 bool AddZeroBlocks(uint64_t new_block_start, uint64_t num_blocks);
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
Dcow_snapuserd_test.cpp663 ASSERT_TRUE(writer.AddZeroBlocks(blk_zero_copy_start, num_blocks)); in CreateCowDevice()
924 ASSERT_TRUE(writer.AddZeroBlocks(300, 10)); in CreateCowPartialFilledArea()
1015 ASSERT_TRUE(writer.AddZeroBlocks(blk_zero_copy_start, num_blocks)); in CreateCowDevice()
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dsnapuserd_test.cpp579 ASSERT_TRUE(writer.AddZeroBlocks(blk_zero_copy_start, num_blocks)); in CreateCowDevice()