Home
last modified time | relevance | path

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

/bootable/recovery/recovery_utils/
Droots.cpp58 .blk_device = "ramdisk", in load_volume_table()
68 << " " << entry.fs_type << " " << entry.blk_device << " " << entry.length in load_volume_table()
181 android::base::unique_fd fd(open(v->blk_device.c_str(), O_RDONLY)); in format_volume()
183 PLOG(ERROR) << "format_volume: failed to open " << v->blk_device; in format_volume()
188 LOG(ERROR) << "get_file_size: invalid size " << length << " for " << v->blk_device; in format_volume()
225 mke2fs_args.push_back(v->blk_device); in format_volume()
233 "/system/bin/e2fsdroid", "-e", "-f", directory, "-a", volume, v->blk_device, in format_volume()
239 PLOG(ERROR) << "format_volume: Failed to make ext4 on " << v->blk_device; in format_volume()
262 make_f2fs_cmd.push_back(v->blk_device); in format_volume()
268 PLOG(ERROR) << "format_volume: Failed to make_f2fs on " << v->blk_device; in format_volume()
[all …]
/bootable/recovery/bootloader_message/
Dbootloader_message.cpp59 return entry.blk_device; in get_misc_blk_device()
69 static bool wait_for_device(const std::string& blk_device, std::string* err) { in wait_for_device() argument
76 ret = stat(blk_device.c_str(), &buf); in wait_for_device()
79 blk_device.c_str(), tries, strerror(errno)); in wait_for_device()
85 *err += android::base::StringPrintf("failed to stat %s\n", blk_device.c_str()); in wait_for_device()
/bootable/recovery/uncrypt/
Duncrypt.cpp192 return entry.blk_device; in FindBlockDevice()