Home
last modified time | relevance | path

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

/bootable/recovery/uncrypt/
Duncrypt.cpp253 std::string tmp_map_file = std::string(map_file) + ".tmp"; in produce_block_map() local
254 android::base::unique_fd mapfd(open(tmp_map_file.c_str(), in produce_block_map()
257 PLOG(ERROR) << "failed to open " << tmp_map_file; in produce_block_map()
284 PLOG(ERROR) << "failed to write " << tmp_map_file; in produce_block_map()
394 PLOG(ERROR) << "failed to write " << tmp_map_file; in produce_block_map()
400 PLOG(ERROR) << "failed to write " << tmp_map_file; in produce_block_map()
406 PLOG(ERROR) << "failed to fsync \"" << tmp_map_file << "\""; in produce_block_map()
410 PLOG(ERROR) << "failed to close " << tmp_map_file; in produce_block_map()
425 if (rename(tmp_map_file.c_str(), map_file) == -1) { in produce_block_map()
426 PLOG(ERROR) << "failed to rename " << tmp_map_file << " to " << map_file; in produce_block_map()