Home
last modified time | relevance | path

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

/linux-5.19.10/arch/arc/kernel/
Dprocess.c171 unsigned long *childksp; /* to unwind out of __switch_to() */ in copy_thread() local
178 childksp = (unsigned long *)c_regs - 2; /* 2 words for FP/BLINK */ in copy_thread()
179 c_callee = ((struct callee_regs *)childksp) - 1; in copy_thread()
192 childksp[0] = 0; /* fp */ in copy_thread()
193 childksp[1] = (unsigned long)ret_from_fork; /* blink */ in copy_thread()
207 childksp[0] = 0; /* for POP fp */ in copy_thread()
208 childksp[1] = (unsigned long)ret_from_fork; /* for POP blink */ in copy_thread()
/linux-5.19.10/arch/loongarch/kernel/
Dprocess.c125 unsigned long childksp; in copy_thread() local
131 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE - 32; in copy_thread()
134 childregs = (struct pt_regs *) childksp - 1; in copy_thread()
136 childksp = (unsigned long) childregs; in copy_thread()
143 p->thread.reg03 = childksp; in copy_thread()
/linux-5.19.10/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()