Home
last modified time | relevance | path

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

/Linux-v6.1/arch/csky/kernel/
Dprocess.c37 struct switch_stack *childstack; in copy_thread() local
44 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()
/Linux-v6.1/arch/nios2/kernel/
Dprocess.c111 struct switch_stack *childstack = in copy_thread() local
115 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 …]
/Linux-v6.1/arch/alpha/kernel/
Dprocess.c242 struct switch_stack *childstack, *stack; in copy_thread() local
244 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()
/Linux-v6.1/arch/sparc/kernel/
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;