Searched refs:exec_cmd (Results 1 – 2 of 2) sorted by relevance
91 static int exec_cmd(const std::vector<std::string>& args) { in exec_cmd() function206 int result = exec_cmd(mke2fs_args); in format_volume()211 result = exec_cmd(e2fsdroid_args); in format_volume()233 if (exec_cmd(make_f2fs_cmd) != 0) { in format_volume()241 if (exec_cmd(sload_f2fs_cmd) != 0) { in format_volume()
396 static int exec_cmd(const std::vector<std::string>& args) { in exec_cmd() function466 if (auto status = exec_cmd(mke2fs_args); status != 0) { in FormatFn()471 if (auto status = exec_cmd({ "/system/bin/e2fsdroid", "-e", "-a", mount_point, location }); in FormatFn()490 if (auto status = exec_cmd(f2fs_args); status != 0) { in FormatFn()495 if (auto status = exec_cmd({ "/system/bin/sload_f2fs", "-t", mount_point, location }); in FormatFn()