Searched refs:cfd (Results 1 – 1 of 1) sorted by relevance
410 android::base::unique_fd cfd(TEMP_FAILURE_RETRY(open(cow_device.c_str(), O_RDWR))); in WriteSnapshotPatch() local411 if (cfd < 0) { in WriteSnapshotPatch()427 if (!android::base::WriteFullyAtOffset(cfd, buffer.get(), to_read, file_offset)) { in WriteSnapshotPatch()436 if (fsync(cfd.get()) < 0) { in WriteSnapshotPatch()