Searched refs:blk_dev (Results 1 – 1 of 1) sorted by relevance
/aosp12/bootable/recovery/uncrypt/ |
H A D | uncrypt.cpp | 244 const std::string& blk_dev, bool encrypted, bool f2fs_fs, int socket) { in ProductBlockMap() argument 276 std::string s = android::base::StringPrintf("%s\n%" PRId64 " %" PRId64 "\n", blk_dev.c_str(), in ProductBlockMap() 299 wfd.reset(open(blk_dev.c_str(), O_WRONLY)); in ProductBlockMap() 301 PLOG(ERROR) << "failed to open " << blk_dev << " for writing"; in ProductBlockMap() 327 PLOG(ERROR) << "Failed to set pin_file for f2fs: " << path << " on " << blk_dev; in ProductBlockMap() 438 PLOG(ERROR) << "failed to fsync \"" << blk_dev << "\""; in ProductBlockMap() 442 PLOG(ERROR) << "failed to close " << blk_dev; in ProductBlockMap() 483 const std::string blk_dev = FindBlockDevice(path, &encryptable, &encrypted, &f2fs_fs); in Uncrypt() local 484 if (blk_dev.empty()) { in Uncrypt() 501 return ProductBlockMap(path, map_file, blk_dev, encrypted, f2fs_fs, socket); in Uncrypt()
|