Lines Matching refs:volume
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
250 return format_volume(volume, ""); in format_volume()