Lines Matching refs:location
293 const std::string& location = args[2]; in MountFn() local
308 if (location.empty()) { in MountFn()
317 if (updater->GetRuntime()->Mount(location, mount_point, fs_type, mount_options) != 0) { in MountFn()
319 location.c_str(), mount_point.c_str(), in MountFn()
398 const std::string& location = args[2]; in FormatFn() local
409 if (location.empty()) { in FormatFn()
426 "/system/bin/mke2fs", "-t", "ext4", "-b", "4096", location in FormatFn()
433 LOG(ERROR) << name << ": mke2fs failed (" << status << ") on " << location; in FormatFn()
438 { "/system/bin/e2fsdroid", "-e", "-a", mount_point, location }, true); in FormatFn()
440 LOG(ERROR) << name << ": e2fsdroid failed (" << status << ") on " << location; in FormatFn()
443 return StringValue(location); in FormatFn()
452 "/system/bin/make_f2fs", "-g", "android", "-w", "512", location in FormatFn()
458 LOG(ERROR) << name << ": make_f2fs failed (" << status << ") on " << location; in FormatFn()
463 { "/system/bin/sload_f2fs", "-t", mount_point, location }, true); in FormatFn()
465 LOG(ERROR) << name << ": sload_f2fs failed (" << status << ") on " << location; in FormatFn()
469 return StringValue(location); in FormatFn()