Lines Matching refs:location
299 const std::string& location = args[2]; in MountFn() local
314 if (location.empty()) { in MountFn()
323 if (updater->GetRuntime()->Mount(location, mount_point, fs_type, mount_options) != 0) { in MountFn()
325 location.c_str(), mount_point.c_str(), in MountFn()
404 const std::string& location = args[2]; in FormatFn() local
415 if (location.empty()) { in FormatFn()
432 "/system/bin/mke2fs", "-t", "ext4", "-b", "4096", location in FormatFn()
439 LOG(ERROR) << name << ": mke2fs failed (" << status << ") on " << location; in FormatFn()
444 { "/system/bin/e2fsdroid", "-e", "-a", mount_point, location }, true); in FormatFn()
446 LOG(ERROR) << name << ": e2fsdroid failed (" << status << ") on " << location; in FormatFn()
449 return StringValue(location); in FormatFn()
458 "/system/bin/make_f2fs", "-g", "android", "-w", "512", location in FormatFn()
464 LOG(ERROR) << name << ": make_f2fs failed (" << status << ") on " << location; in FormatFn()
469 { "/system/bin/sload_f2fs", "-t", mount_point, location }, true); in FormatFn()
471 LOG(ERROR) << name << ": sload_f2fs failed (" << status << ") on " << location; in FormatFn()
475 return StringValue(location); in FormatFn()