Home
last modified time | relevance | path

Searched refs:misc_name (Results 1 – 9 of 9) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapuserd_server.cpp205 LOG(INFO) << "Entering thread for handler: " << handler->misc_name(); in RunThread()
215 auto misc_name = handler->misc_name(); in RunThread() local
216 LOG(INFO) << "Handler thread about to exit: " << misc_name; in RunThread()
220 auto iter = FindHandler(&lock, handler->misc_name()); in RunThread()
230 LOG(INFO) << "Exiting handler thread to allow for join: " << misc_name; in RunThread()
234 LOG(INFO) << "Exiting handler thread and freeing resources: " << misc_name; in RunThread()
354 std::shared_ptr<DmUserHandler> SnapuserdServer::AddHandler(const std::string& misc_name, in AddHandler() argument
357 auto snapuserd = std::make_shared<Snapuserd>(misc_name, cow_device_path, backing_device); in AddHandler()
371 if (FindHandler(&lock, misc_name) != dm_users_.end()) { in AddHandler()
372 LOG(ERROR) << "Handler already exists: " << misc_name; in AddHandler()
[all …]
Dsnapuserd_client.cpp168 bool SnapuserdClient::AttachDmUser(const std::string& misc_name) { in AttachDmUser() argument
169 std::string msg = "start," + misc_name; in AttachDmUser()
185 uint64_t SnapuserdClient::InitDmUserCow(const std::string& misc_name, const std::string& cow_device, in InitDmUserCow() argument
187 std::vector<std::string> parts = {"init", misc_name, cow_device, backing_device}; in InitDmUserCow()
Dsnapuserd_server.h64 const std::string& misc_name() const { return misc_name_; } in misc_name() function
123 const std::string& misc_name);
133 std::shared_ptr<DmUserHandler> AddHandler(const std::string& misc_name,
Dsnapuserd.h115 const std::string& misc_name, std::shared_ptr<Snapuserd> snapuserd);
156 const std::string& control_device, const std::string& misc_name,
225 Snapuserd(const std::string& misc_name, const std::string& cow_device,
Dsnapuserd_readahead.cpp166 const std::string& misc_name, in ReadAheadThread() argument
170 misc_name_ = misc_name; in ReadAheadThread()
Dsnapuserd.cpp35 Snapuserd::Snapuserd(const std::string& misc_name, const std::string& cow_device, in Snapuserd() argument
37 misc_name_ = misc_name; in Snapuserd()
40 control_device_ = "/dev/dm-user/" + misc_name; in Snapuserd()
Dsnapshot.cpp409 std::string misc_name = name; in MapDmUserCow() local
411 misc_name += "-init"; in MapDmUserCow()
418 uint64_t base_sectors = snapuserd_client_->InitDmUserCow(misc_name, cow_file, base_device); in MapDmUserCow()
425 table.Emplace<DmTargetUser>(0, base_sectors, misc_name); in MapDmUserCow()
433 auto control_device = "/dev/dm-user/" + misc_name; in MapDmUserCow()
438 return snapuserd_client_->AttachDmUser(misc_name); in MapDmUserCow()
1507 auto misc_name = user_cow_name; in PerformInitTransition() local
1510 table.Emplace<DmTargetUser>(0, target.spec.length, misc_name); in PerformInitTransition()
1512 LOG(ERROR) << "Unable to swap tables for " << misc_name; in PerformInitTransition()
1531 std::string control_device = "/dev/dm-user/" + misc_name; in PerformInitTransition()
[all …]
Dsnapuserd_worker.cpp75 const std::string& control_device, const std::string& misc_name, in WorkerThread() argument
80 misc_name_ = misc_name; in WorkerThread()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapuserd_client.h64 uint64_t InitDmUserCow(const std::string& misc_name, const std::string& cow_device,
66 bool AttachDmUser(const std::string& misc_name);