Lines Matching refs:retval
394 int retval = mkdir(full_path, 0); in shell_cmd_mkdir() local
400 return retval; in shell_cmd_mkdir()
423 int retval = rmdir(full_path); in shell_cmd_rmdir() local
424 if (retval != 0) in shell_cmd_rmdir()
425 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rmdir()
431 return retval; in shell_cmd_rmdir()
445 int retval = 0; in shell_cmd_rm() local
456 retval = rm(full_path); in shell_cmd_rm()
458 if (retval != 0) in shell_cmd_rm()
459 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rm()
464 return retval; in shell_cmd_rm()
477 int retval = 0; in shell_cmd_exec() local
497 waitpid(pid, &retval, 0); in shell_cmd_exec()
525 int retval = 0; in shell_cmd_kill() local
529 retval = -EINVAL; in shell_cmd_kill()
532 retval = kill(atoi(argv[1]), SIGKILL); in shell_cmd_kill()
535 return retval; in shell_cmd_kill()
552 int retval = 0; in shell_cmd_free() local
555 retval = -EINVAL; in shell_cmd_free()
561 retval = mstat(&mst); in shell_cmd_free()
562 if (retval != 0) in shell_cmd_free()
564 printf("Failed: retval=%d", retval); in shell_cmd_free()
584 return retval; in shell_cmd_free()