Home
last modified time | relevance | path

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

/bootable/recovery/install/
Dwipe_data.cpp39 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/
Droots.cpp132 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 …]
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()
/bootable/recovery/
Dfsck_unshare_blocks.cpp76 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/
Droots.h45 int format_volume(const std::string& volume);
51 int format_volume(const std::string& volume, const std::string& directory);
Dmounts.h25 int unmount_mounted_volume(MountedVolume* volume);