Home
last modified time | relevance | path

Searched refs:childstack (Results 1 – 4 of 4) sorted by relevance

/linux/arch/csky/kernel/
A Dprocess.c39 struct switch_stack *childstack; in copy_thread() local
46 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
47 memset(childstack, 0, sizeof(struct switch_stack)); in copy_thread()
50 p->thread.sp = (unsigned long)childstack; in copy_thread()
54 childstack->r15 = (unsigned long) ret_from_kernel_thread; in copy_thread()
55 childstack->r10 = kthread_arg; in copy_thread()
56 childstack->r9 = usp; in copy_thread()
67 childstack->r15 = (unsigned long) ret_from_fork; in copy_thread()
/linux/arch/nios2/kernel/
A Dprocess.c109 struct switch_stack *childstack = in copy_thread() local
113 memset(childstack, 0, in copy_thread()
116 childstack->r16 = usp; /* fn */ in copy_thread()
117 childstack->r17 = arg; in copy_thread()
118 childstack->ra = (unsigned long) ret_from_kernel_thread; in copy_thread()
120 childregs->sp = (unsigned long) childstack; in copy_thread()
122 p->thread.ksp = (unsigned long) childstack; in copy_thread()
133 *childstack = *stack; in copy_thread()
134 childstack->ra = (unsigned long)ret_from_fork; in copy_thread()
136 p->thread.ksp = (unsigned long) childstack; in copy_thread()
[all …]
/linux/arch/alpha/kernel/
A Dprocess.c246 struct switch_stack *childstack, *stack; in copy_thread() local
248 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
249 childti->pcb.ksp = (unsigned long) childstack; in copy_thread()
254 memset(childstack, 0, in copy_thread()
256 childstack->r26 = (unsigned long) ret_from_kernel_thread; in copy_thread()
257 childstack->r9 = usp; /* function */ in copy_thread()
258 childstack->r10 = kthread_arg; in copy_thread()
278 *childstack = *stack; in copy_thread()
279 childstack->r26 = (unsigned long) ret_from_fork; in copy_thread()
/linux/arch/sparc/kernel/
A Dprocess_32.c320 struct sparc_stackf __user *childstack; local
327 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;

Completed in 8 milliseconds