Home
last modified time | relevance | path

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

/bootable/recovery/recovery_utils/
Droots.cpp60 .blk_device = "ramdisk", in load_volume_table()
70 << " " << entry.fs_type << " " << entry.blk_device << " " << entry.length in load_volume_table()
102 if (!android::base::Realpath(entry.blk_device, &fstab_bdev_path)) { in BlockDevHasFstab()
103 PLOG(ERROR) << "Failed to get realpath for " << entry.blk_device; in BlockDevHasFstab()
165 LOG(INFO) << "Skipping F2FS format for block device " << entry->blk_device << " @ " in LocateFormattableEntry()
174 LOG(INFO) << "Using F2FS for " << f2fs_entry->blk_device << " @ " << f2fs_entry->mount_point in LocateFormattableEntry()
243 android::base::unique_fd fd(open(v->blk_device.c_str(), O_RDONLY)); in format_volume()
245 PLOG(ERROR) << "format_volume: failed to open " << v->blk_device; in format_volume()
250 LOG(ERROR) << "get_file_size: invalid size " << length << " for " << v->blk_device; in format_volume()
263 android::base::unique_fd fd(open(v->blk_device.c_str(), O_RDWR)); in format_volume()
[all …]
/bootable/recovery/bootloader_message/
Dbootloader_message.cpp61 return entry.blk_device; in get_misc_blk_device()
71 static bool wait_for_device(const std::string& blk_device, std::string* err) { in wait_for_device() argument
78 ret = stat(blk_device.c_str(), &buf); in wait_for_device()
81 blk_device.c_str(), tries, strerror(errno)); in wait_for_device()
87 *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()