Lines Matching refs:retval
38 int retval = 0; in do_fork() local
47 retval = -ENOMEM; in do_fork()
48 return retval; in do_fork()
70 retval = kthread_set_worker_private(tsk); in do_fork()
71 if (IS_ERR_VALUE(retval)) in do_fork()
103 retval = -ENOMEM; in do_fork()
106 retval = process_copy_flags(clone_flags, tsk); in do_fork()
107 if (retval) in do_fork()
111 retval = process_copy_mm(clone_flags, tsk); in do_fork()
112 if (retval) in do_fork()
116 retval = process_copy_files(clone_flags, tsk); in do_fork()
117 if (retval) in do_fork()
121 retval = process_copy_sighand(clone_flags, tsk); in do_fork()
122 if (retval) in do_fork()
125 retval = process_copy_signal(clone_flags, tsk); in do_fork()
126 if (retval) in do_fork()
130 retval = process_copy_thread(clone_flags, tsk, stack_start, stack_size, regs); in do_fork()
131 if (retval) in do_fork()
135 retval = tsk->pid; in do_fork()
145 return retval; in do_fork()
163 return retval; in do_fork()