Home
last modified time | relevance | path

Searched refs:childksp (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/arch/arc/kernel/
Dprocess.c173 unsigned long *childksp; /* to unwind out of __switch_to() */ in copy_thread() local
180 childksp = (unsigned long *)c_regs - 2; /* 2 words for FP/BLINK */ in copy_thread()
181 c_callee = ((struct callee_regs *)childksp) - 1; in copy_thread()
194 childksp[0] = 0; /* fp */ in copy_thread()
195 childksp[1] = (unsigned long)ret_from_fork; /* blink */ in copy_thread()
209 childksp[0] = 0; /* for POP fp */ in copy_thread()
210 childksp[1] = (unsigned long)ret_from_fork; /* for POP blink */ in copy_thread()
/Linux-v6.6/arch/loongarch/kernel/
Dprocess.c145 unsigned long childksp; in copy_thread() local
151 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread()
154 childregs = (struct pt_regs *) childksp - 1; in copy_thread()
156 childksp = (unsigned long) childregs; in copy_thread()
164 p->thread.reg03 = childksp; in copy_thread()
/Linux-v6.6/arch/mips/kernel/
Dprocess.c115 unsigned long childksp; in copy_thread() local
117 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE - 32; in copy_thread()
120 childregs = (struct pt_regs *) childksp - 1; in copy_thread()
122 childksp = (unsigned long) childregs; in copy_thread()
130 p->thread.reg29 = childksp; in copy_thread()