Home
last modified time | relevance | path

Searched refs:source_device_ (Results 1 – 4 of 4) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot_writer.cpp34 source_device_ = {source_device}; in SetSourceDevice()
38 if (!source_device_) { in GetSourceFd()
44 source_fd_.reset(open(source_device_->c_str(), O_RDONLY | O_CLOEXEC)); in GetSourceFd()
46 PLOG(ERROR) << "open " << *source_device_; in GetSourceFd()
88 if (source_device_) { in OpenReader()
89 reader->SetSourceDevice(*source_device_); in OpenReader()
Dsnapshot_reader.cpp108 source_device_ = {source_device}; in SetSourceDevice()
117 if (!source_device_) { in GetSourceFd()
122 source_fd_.reset(open(source_device_->c_str(), O_RDONLY | O_CLOEXEC)); in GetSourceFd()
124 PLOG(ERROR) << "open " << *source_device_; in GetSourceFd()
267 PLOG(ERROR) << "read " << *source_device_; in ReadBlock()
Dsnapshot_reader.h76 std::optional<std::string> source_device_; variable
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_writer.h54 std::optional<std::string> source_device_; variable