Home
last modified time | relevance | path

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

/bootable/recovery/uncrypt/
Duncrypt.cpp176 static int produce_block_map(const char* path, const char* map_file, const char* blk_dev, in produce_block_map() argument
178 int mapfd = open(map_file, O_WRONLY | O_CREAT | O_SYNC, S_IRUSR | S_IWUSR); in produce_block_map()
180 ALOGE("failed to open %s\n", map_file); in produce_block_map()
311 ALOGE("failed to fsync \"%s\": %s\n", map_file, strerror(errno)); in produce_block_map()
365 int uncrypt(const char* input_path, const char* map_file, int status_fd) { in uncrypt() argument
403 ALOGI("writing block map %s", map_file); in uncrypt()
404 if (produce_block_map(path, map_file, blk_dev, encrypted, status_fd) != 0) { in uncrypt()
414 const char* map_file; in main() local
441 map_file = argv[2]; in main()
450 map_file = cache_block_map.c_str(); in main()
[all …]