Home
last modified time | relevance | path

Searched refs:owned_fd_ (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libdm/
Dloop_control.cpp138 : fd_(fd), owned_fd_(-1) { in LoopDevice()
140 owned_fd_.reset(fd.get()); in LoopDevice()
146 : fd_(-1), owned_fd_(-1) { in LoopDevice()
147 owned_fd_.reset(open(path.c_str(), O_RDWR | O_CLOEXEC)); in LoopDevice()
148 if (owned_fd_ == -1) { in LoopDevice()
152 fd_ = owned_fd_; in LoopDevice()
/system/core/fs_mgr/libdm/include/libdm/
Dloop_control.h86 android::base::unique_fd owned_fd_; variable