Searched refs:new_block_start (Results 1 – 5 of 5) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_writer.cpp | 104 bool CompressedSnapshotWriter::EmitRawBlocks(uint64_t new_block_start, const void* data, in EmitRawBlocks() argument 106 return cow_->AddRawBlocks(new_block_start, data, size); in EmitRawBlocks() 109 bool CompressedSnapshotWriter::EmitZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) { in EmitZeroBlocks() argument 110 return cow_->AddZeroBlocks(new_block_start, num_blocks); in EmitZeroBlocks() 142 bool OnlineKernelSnapshotWriter::EmitRawBlocks(uint64_t new_block_start, const void* data, in EmitRawBlocks() argument 144 uint64_t offset = new_block_start * options_.block_size; in EmitRawBlocks() 156 bool OnlineKernelSnapshotWriter::EmitZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) { in EmitZeroBlocks() argument 159 if (!EmitRawBlocks(new_block_start + i, zeroes.data(), zeroes.size())) { in EmitZeroBlocks()
|
D | cow_writer.cpp | 46 bool ICowWriter::AddRawBlocks(uint64_t new_block_start, const void* data, size_t size) { in AddRawBlocks() argument 54 uint64_t last_block = new_block_start + num_blocks - 1; in AddRawBlocks() 58 return EmitRawBlocks(new_block_start, data, size); in AddRawBlocks() 61 bool ICowWriter::AddZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) { in AddZeroBlocks() argument 62 uint64_t last_block = new_block_start + num_blocks - 1; in AddZeroBlocks() 66 return EmitZeroBlocks(new_block_start, num_blocks); in AddZeroBlocks() 270 bool CowWriter::EmitRawBlocks(uint64_t new_block_start, const void* data, size_t size) { in EmitRawBlocks() argument 276 op.new_block = new_block_start + i; in EmitRawBlocks() 309 bool CowWriter::EmitZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) { in EmitZeroBlocks() argument 314 op.new_block = new_block_start + i; in EmitZeroBlocks()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | cow_writer.h | 56 bool AddRawBlocks(uint64_t new_block_start, const void* data, size_t size); 59 bool AddZeroBlocks(uint64_t new_block_start, uint64_t num_blocks); 78 virtual bool EmitRawBlocks(uint64_t new_block_start, const void* data, size_t size) = 0; 79 virtual bool EmitZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) = 0; 113 virtual bool EmitRawBlocks(uint64_t new_block_start, const void* data, size_t size) override; 114 virtual bool EmitZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) override;
|
D | snapshot_writer.h | 76 bool EmitRawBlocks(uint64_t new_block_start, const void* data, size_t size) override; 77 bool EmitZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) override; 102 bool EmitRawBlocks(uint64_t new_block_start, const void* data, size_t size) override; 103 bool EmitZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) override;
|
/system/update_engine/payload_consumer/ |
D | snapshot_extent_writer_unittest.cc | 51 bool EmitRawBlocks(uint64_t new_block_start, in EmitRawBlocks() argument 54 auto&& op = operations_[new_block_start]; in EmitRawBlocks() 59 bool EmitZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) override { in EmitZeroBlocks() argument 60 operations_[new_block_start] = {.type = CowOp::COW_ZERO}; in EmitZeroBlocks()
|