Home
last modified time | relevance | path

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

/bootable/recovery/uncrypt/
Duncrypt.cpp432 android::base::unique_fd dfd(open(dir_name.c_str(), O_RDONLY | O_DIRECTORY)); in produce_block_map() local
433 if (dfd == -1) { in produce_block_map()
437 if (fsync(dfd) == -1) { in produce_block_map()
441 if (close(dfd.release()) == -1) { in produce_block_map()
/bootable/recovery/updater/
Dblockimg.cpp758 android::base::unique_fd dfd(TEMP_FAILURE_RETRY(ota_open(dname.c_str(), in WriteStash() local
760 if (dfd == -1) { in WriteStash()
766 if (ota_fsync(dfd) == -1) { in WriteStash()