Lines Matching refs:retval
416 int retval = mkdir(full_path, 0); in shell_cmd_mkdir() local
422 return retval; in shell_cmd_mkdir()
445 int retval = rmdir(full_path); in shell_cmd_rmdir() local
446 if (retval != 0) in shell_cmd_rmdir()
447 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rmdir()
453 return retval; in shell_cmd_rmdir()
467 int retval = 0; in shell_cmd_rm() local
478 retval = rm(full_path); in shell_cmd_rm()
480 if (retval != 0) in shell_cmd_rm()
481 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rm()
486 return retval; in shell_cmd_rm()
499 int retval = 0; in shell_cmd_exec() local
520 waitpid(pid, &retval, 0); in shell_cmd_exec()
546 int retval = 0; in shell_cmd_kill() local
550 retval = -EINVAL; in shell_cmd_kill()
553 retval = kill(atoi(argv[1]), SIGKILL); in shell_cmd_kill()
556 return retval; in shell_cmd_kill()
573 int retval = 0; in shell_cmd_free() local
576 retval = -EINVAL; in shell_cmd_free()
582 retval = mstat(&mst); in shell_cmd_free()
583 if (retval != 0) in shell_cmd_free()
585 printf("Failed: retval=%d", retval); in shell_cmd_free()
605 return retval; in shell_cmd_free()