Home
last modified time | relevance | path

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

/aosp12/system/vold/
H A DEncryptInplace.cpp81 android::base::unique_fd cryptofd_; member in InPlaceEncrypter
192 if (pwrite64(cryptofd_, &io_buffer_[0], bytes, offset) != bytes) { in EncryptPendingData()
331 cryptofd_.reset(open64(crypto_blkdev.c_str(), O_WRONLY | O_CLOEXEC)); in EncryptInPlace()
332 if (cryptofd_ < 0) { in EncryptInPlace()
348 if (success && fsync(cryptofd_) != 0) { in EncryptInPlace()