Home
last modified time | relevance | path

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

/bootable/recovery/uncrypt/
Duncrypt.cpp252 static int produce_block_map(const char* path, const char* map_file, const char* blk_dev, in produce_block_map() argument
255 if (!android::base::RemoveFileIfExists(map_file, &err)) { in produce_block_map()
256 LOG(ERROR) << "failed to remove the existing map file " << map_file << ": " << err; in produce_block_map()
259 std::string tmp_map_file = std::string(map_file) + ".tmp"; in produce_block_map()
442 if (rename(tmp_map_file.c_str(), map_file) == -1) { in produce_block_map()
443 PLOG(ERROR) << "failed to rename " << tmp_map_file << " to " << map_file; in produce_block_map()
447 std::string file_name = map_file; in produce_block_map()
465 static int uncrypt(const char* input_path, const char* map_file, const int socket) { in uncrypt() argument
499 LOG(INFO) << "writing block map " << map_file; in uncrypt()
500 return produce_block_map(path, map_file, blk_dev, encrypted, f2fs_fs, socket); in uncrypt()
[all …]