Home
last modified time | relevance | path

Searched refs:cow_fd_ (Results 1 – 5 of 5) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapuserd.h127 cow_fd_ = {}; in CloseFds()
143 unique_fd cow_fd_; variable
215 unique_fd cow_fd_; variable
238 void CloseFds() { cow_fd_ = {}; } in CloseFds()
304 unique_fd cow_fd_; variable
Dsnapuserd.cpp340 if (!reader_->Parse(cow_fd_)) { in ReadMetadata()
636 cow_fd_.get(), 0); in MmapMetadata()
662 cow_fd_.reset(open(cow_device_.c_str(), O_RDWR)); in InitCowDevice()
663 if (cow_fd_ < 0) { in InitCowDevice()
Dsnapuserd_readahead.cpp427 cow_fd_.reset(open(cow_device_.c_str(), O_RDWR)); in InitializeFds()
428 if (cow_fd_ < 0) { in InitializeFds()
Dsnapuserd_worker.cpp92 cow_fd_.reset(open(cow_device_.c_str(), O_RDWR)); in InitializeFds()
93 if (cow_fd_ < 0) { in InitializeFds()
109 if (!reader_->InitForMerge(std::move(cow_fd_))) { in InitReader()
/system/core/fs_mgr/libdm/
Ddm_test.cpp226 unique_fd cow_fd_; member in SnapshotTestHarness
243 cow_fd_ = CreateTempFile("cow_device", kCowDeviceSize); in SetupImpl()
244 ASSERT_GE(cow_fd_, 0); in SetupImpl()
248 cow_loop_ = std::make_unique<LoopDevice>(cow_fd_, 10s); in SetupImpl()