Searched refs:owned_fd_ (Results 1 – 2 of 2) sorted by relevance
138 : 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()
86 android::base::unique_fd owned_fd_; variable