Home
last modified time | relevance | path

Searched refs:CowWriterBase (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dwriter_base.cpp55 CowWriterBase::CowWriterBase(const CowOptions& options, unique_fd&& fd) in CowWriterBase() function in android::snapshot::CowWriterBase
58 bool CowWriterBase::InitFd() { in InitFd()
91 bool CowWriterBase::AddCopy(uint64_t new_block, uint64_t old_block, uint64_t num_blocks) { in AddCopy()
103 bool CowWriterBase::AddRawBlocks(uint64_t new_block_start, const void* data, size_t size) { in AddRawBlocks()
118 bool CowWriterBase::AddXorBlocks(uint32_t new_block_start, const void* data, size_t size, in AddXorBlocks()
138 bool CowWriterBase::AddZeroBlocks(uint64_t new_block_start, uint64_t num_blocks) { in AddZeroBlocks()
146 bool CowWriterBase::AddLabel(uint64_t label) { in AddLabel()
150 bool CowWriterBase::AddSequenceData(size_t num_ops, const uint32_t* data) { in AddSequenceData()
154 bool CowWriterBase::ValidateNewBlock(uint64_t new_block) { in ValidateNewBlock()
163 std::unique_ptr<ICowReader> CowWriterBase::OpenReader() { in OpenReader()
[all …]
Dwriter_base.h22 class CowWriterBase : public ICowWriter {
24 CowWriterBase(const CowOptions& options, android::base::unique_fd&& fd);
25 virtual ~CowWriterBase() {} in ~CowWriterBase()
Dwriter_v2.h23 class CowWriterV2 : public CowWriterBase {
Dwriter_v3.h35 class CowWriterV3 : public CowWriterBase {
Dcow_format.cpp156 std::unique_ptr<CowWriterBase> base; in CreateCowWriter()
Dwriter_v2.cpp62 : CowWriterBase(options, std::move(fd)) { in CowWriterV2()
Dwriter_v3.cpp67 : CowWriterBase(options, std::move(fd)), batch_size_(std::max<size_t>(options.cluster_ops, 1)) { in CowWriterV3()