Searched refs:childstack (Results 1 – 4 of 4) sorted by relevance
37 struct switch_stack *childstack; in copy_thread() local44 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()45 memset(childstack, 0, sizeof(struct switch_stack)); in copy_thread()48 p->thread.sp = (unsigned long)childstack; in copy_thread()52 childstack->r15 = (unsigned long) ret_from_kernel_thread; in copy_thread()53 childstack->r10 = (unsigned long) args->fn_arg; in copy_thread()54 childstack->r9 = (unsigned long) args->fn; in copy_thread()65 childstack->r15 = (unsigned long) ret_from_fork; in copy_thread()
111 struct switch_stack *childstack = in copy_thread() local115 memset(childstack, 0, in copy_thread()118 childstack->r16 = (unsigned long) args->fn; in copy_thread()119 childstack->r17 = (unsigned long) args->fn_arg; in copy_thread()120 childstack->ra = (unsigned long) ret_from_kernel_thread; in copy_thread()122 childregs->sp = (unsigned long) childstack; in copy_thread()124 p->thread.ksp = (unsigned long) childstack; in copy_thread()135 *childstack = *stack; in copy_thread()136 childstack->ra = (unsigned long)ret_from_fork; in copy_thread()138 p->thread.ksp = (unsigned long) childstack; in copy_thread()[all …]
242 struct switch_stack *childstack, *stack; in copy_thread() local244 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()245 childti->pcb.ksp = (unsigned long) childstack; in copy_thread()250 memset(childstack, 0, in copy_thread()252 childstack->r26 = (unsigned long) ret_from_kernel_thread; in copy_thread()253 childstack->r9 = (unsigned long) args->fn; in copy_thread()254 childstack->r10 = (unsigned long) args->fn_arg; in copy_thread()274 *childstack = *stack; in copy_thread()275 childstack->r26 = (unsigned long) ret_from_fork; in copy_thread()
320 struct sparc_stackf __user *childstack; local327 childstack = (struct sparc_stackf __user *)337 childstack = clone_stackframe(childstack, parentstack);338 if (!childstack)343 show_stackframe(childstack);346 childregs->u_regs[UREG_FP] = (unsigned long)childstack;