Searched refs:volume (Results 1 – 6 of 6) sorted by relevance
/bootable/recovery/install/ |
D | wipe_data.cpp | 39 static bool EraseVolume(const char* volume, RecoveryUI* ui, bool convert_fbe) { in EraseVolume() argument 40 bool is_cache = (strcmp(volume, CACHE_ROOT) == 0); in EraseVolume() 41 bool is_data = (strcmp(volume, DATA_ROOT) == 0); in EraseVolume() 53 ui->Print("Formatting %s...\n", volume); in EraseVolume() 55 ensure_path_unmounted(volume); in EraseVolume() 73 result = format_volume(volume, CONVERT_FBE_DIR); in EraseVolume() 77 result = format_volume(volume); in EraseVolume()
|
/bootable/recovery/otautil/ |
D | roots.cpp | 132 int format_volume(const std::string& volume, const std::string& directory) { in format_volume() argument 133 const FstabEntry* v = android::fs_mgr::GetEntryForPath(&fstab, volume); in format_volume() 135 LOG(ERROR) << "unknown volume \"" << volume << "\""; in format_volume() 139 LOG(ERROR) << "can't format_volume \"" << volume << "\""; in format_volume() 142 if (v->mount_point != volume) { in format_volume() 143 LOG(ERROR) << "can't give path \"" << volume << "\" to format_volume"; in format_volume() 146 if (ensure_path_unmounted(volume) != 0) { in format_volume() 209 "/system/bin/e2fsdroid", "-e", "-f", directory, "-a", volume, v->blk_device, in format_volume() 239 "/system/bin/sload_f2fs", "-f", directory, "-t", volume, v->blk_device, in format_volume() 249 int format_volume(const std::string& volume) { in format_volume() argument [all …]
|
D | mounts.cpp | 72 int unmount_mounted_volume(MountedVolume* volume) { in unmount_mounted_volume() argument 75 std::string mount_point = volume->mount_point; in unmount_mounted_volume() 76 volume->mount_point.clear(); in unmount_mounted_volume()
|
/bootable/recovery/ |
D | fsck_unshare_blocks.cpp | 76 Volume* volume = volume_for_mount_point(partition); in run_e2fsck() local 77 if (!volume) { in run_e2fsck() 82 LOG(INFO) << "Running e2fsck on device " << volume->blk_device; in run_e2fsck() 85 volume->blk_device }; in run_e2fsck()
|
/bootable/recovery/otautil/include/otautil/ |
D | roots.h | 45 int format_volume(const std::string& volume); 51 int format_volume(const std::string& volume, const std::string& directory);
|
D | mounts.h | 25 int unmount_mounted_volume(MountedVolume* volume);
|