Lines Matching refs:childstack
110 struct switch_stack *childstack = in copy_thread() local
114 memset(childstack, 0, in copy_thread()
117 childstack->r16 = (unsigned long) args->fn; in copy_thread()
118 childstack->r17 = (unsigned long) args->fn_arg; in copy_thread()
119 childstack->ra = (unsigned long) ret_from_kernel_thread; in copy_thread()
121 childregs->sp = (unsigned long) childstack; in copy_thread()
123 p->thread.ksp = (unsigned long) childstack; in copy_thread()
134 *childstack = *stack; in copy_thread()
135 childstack->ra = (unsigned long)ret_from_fork; in copy_thread()
137 p->thread.ksp = (unsigned long) childstack; in copy_thread()
144 childstack->r23 = tls; in copy_thread()