Lines Matching refs:volume
133 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()
283 int format_volume(const std::string& volume) { in format_volume() argument
284 return format_volume(volume, ""); in format_volume()