Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapuserd.cpp35 Snapuserd::Snapuserd(const std::string& misc_name, const std::string& cow_device, in Snapuserd() function in android::snapshot::Snapuserd
43 bool Snapuserd::InitializeWorkers() { in InitializeWorkers()
56 bool Snapuserd::CommitMerge(int num_merge_ops) { in CommitMerge()
76 void Snapuserd::PrepareReadAhead() { in PrepareReadAhead()
92 bool Snapuserd::GetRABuffer(std::unique_lock<std::mutex>* lock, uint64_t block, void* buffer) { in GetRABuffer()
115 bool Snapuserd::GetReadAheadPopulatedBuffer(uint64_t block, void* buffer) { in GetReadAheadPopulatedBuffer()
145 bool Snapuserd::WaitForMergeToComplete() { in WaitForMergeToComplete()
166 bool Snapuserd::WaitForReadAheadToStart() { in WaitForReadAheadToStart()
185 void Snapuserd::StartReadAhead() { in StartReadAhead()
194 void Snapuserd::MergeCompleted() { in MergeCompleted()
[all …]
Dsnapuserd.h110 class Snapuserd; variable
115 const std::string& misc_name, std::shared_ptr<Snapuserd> snapuserd);
146 std::shared_ptr<Snapuserd> snapuserd_;
157 std::shared_ptr<Snapuserd> snapuserd);
219 std::shared_ptr<Snapuserd> snapuserd_;
223 class Snapuserd : public std::enable_shared_from_this<Snapuserd> {
225 Snapuserd(const std::string& misc_name, const std::string& cow_device,
247 std::shared_ptr<Snapuserd> GetSharedPtr() { return shared_from_this(); } in GetSharedPtr()
Dsnapuserd_server.h50 explicit DmUserHandler(std::shared_ptr<Snapuserd> snapuserd);
61 const std::shared_ptr<Snapuserd>& snapuserd() const { return snapuserd_; } in snapuserd()
68 std::shared_ptr<Snapuserd> snapuserd_;
Dsnapuserd_worker.cpp76 std::shared_ptr<Snapuserd> snapuserd) { in WorkerThread()
288 Snapuserd::compare); in ReadData()
501 Snapuserd::compare); in GetNumberOfMergedOps()
688 std::make_pair(header->sector, nullptr), Snapuserd::compare); in DmuserWriteRequest()
754 std::make_pair(header->sector, nullptr), Snapuserd::compare); in DmuserReadRequest()
Dsnapuserd_server.cpp80 DmUserHandler::DmUserHandler(std::shared_ptr<Snapuserd> snapuserd) in DmUserHandler()
357 auto snapuserd = std::make_shared<Snapuserd>(misc_name, cow_device_path, backing_device); in AddHandler()
Dsnapuserd_readahead.cpp167 std::shared_ptr<Snapuserd> snapuserd) { in ReadAheadThread()
Dcow_snapuserd_test.cpp168 std::unique_ptr<Snapuserd> snapuserd_;
909 snapuserd_ = std::make_unique<Snapuserd>("", cow_system_->path, ""); in InitMetadata()