Home
last modified time | relevance | path

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

/bootable/recovery/install/
Dwipe_data.cpp40 static bool EraseVolume(const char* volume, RecoveryUI* ui, bool convert_fbe) { in EraseVolume() argument
41 bool is_cache = (strcmp(volume, CACHE_ROOT) == 0); in EraseVolume()
42 bool is_data = (strcmp(volume, DATA_ROOT) == 0); in EraseVolume()
54 ui->Print("Formatting %s...\n", volume); in EraseVolume()
56 ensure_path_unmounted(volume); in EraseVolume()
74 result = format_volume(volume, CONVERT_FBE_DIR); in EraseVolume()
78 result = format_volume(volume); in EraseVolume()
/bootable/recovery/recovery_utils/
Droots.cpp133 int format_volume(const std::string& volume, const std::string& directory) { in format_volume() argument
134 const FstabEntry* v = android::fs_mgr::GetEntryForPath(&fstab, volume); in format_volume()
136 LOG(ERROR) << "unknown volume \"" << volume << "\""; in format_volume()
140 LOG(ERROR) << "can't format_volume \"" << volume << "\""; in format_volume()
143 if (v->mount_point != volume) { in format_volume()
144 LOG(ERROR) << "can't give path \"" << volume << "\" to format_volume"; in format_volume()
147 if (ensure_path_unmounted(volume) != 0) { in format_volume()
159 if (volume == "/data") { in format_volume()
233 "/system/bin/e2fsdroid", "-e", "-f", directory, "-a", volume, v->blk_device, in format_volume()
273 "/system/bin/sload_f2fs", "-f", directory, "-t", volume, v->blk_device, in format_volume()
[all …]
/bootable/recovery/updater/
Dmounts.cpp72 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()
Dmounts.h25 int unmount_mounted_volume(MountedVolume* volume);
/bootable/recovery/recovery_utils/include/recovery_utils/
Droots.h45 int format_volume(const std::string& volume);
51 int format_volume(const std::string& volume, const std::string& directory);