Lines Matching refs:status
252 int status; in exec_cmd() local
258 waitpid(child, &status, 0); in exec_cmd()
259 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { in exec_cmd()
260 printf("%s failed with status %d\n", path, WEXITSTATUS(status)); in exec_cmd()
262 return WEXITSTATUS(status); in exec_cmd()
337 int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle); in FormatFn() local
338 if (status != 0) { in FormatFn()
340 name, status, location); in FormatFn()
354 int status = exec_cmd(f2fs_path, (char* const*)f2fs_argv); in FormatFn() local
356 if (status != 0) { in FormatFn()
358 name, status, location); in FormatFn()
1304 int status; in RunProgramFn() local
1305 waitpid(child, &status, 0); in RunProgramFn()
1306 if (WIFEXITED(status)) { in RunProgramFn()
1307 if (WEXITSTATUS(status) != 0) { in RunProgramFn()
1309 WEXITSTATUS(status)); in RunProgramFn()
1311 } else if (WIFSIGNALED(status)) { in RunProgramFn()
1313 WTERMSIG(status)); in RunProgramFn()
1324 sprintf(buffer, "%d", status); in RunProgramFn()