Lines Matching refs:childregs
208 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
216 SPILL_SLOT(childregs, 1) = (unsigned long)childregs; in copy_thread()
217 SPILL_SLOT(childregs, 0) = 0; in copy_thread()
219 p->thread.sp = (unsigned long)childregs; in copy_thread()
222 p->thread.sp = (unsigned long)childregs - 16; in copy_thread()
239 *childregs = *regs; in copy_thread()
240 childregs->areg[1] = usp; in copy_thread()
241 childregs->areg[2] = 0; in copy_thread()
258 int len = childregs->wmask & ~0xf; in copy_thread()
265 childregs->wmask = 1; in copy_thread()
266 childregs->windowstart = 1; in copy_thread()
267 childregs->windowbase = 0; in copy_thread()
269 int len = childregs->wmask & ~0xf; in copy_thread()
270 memcpy(&childregs->areg[XCHAL_NUM_AREGS - len/4], in copy_thread()
274 childregs->syscall = regs->syscall; in copy_thread()
277 childregs->threadptr = tls; in copy_thread()
289 SPILL_SLOT(childregs, 2) = usp_thread_fn; in copy_thread()
290 SPILL_SLOT(childregs, 3) = thread_fn_arg; in copy_thread()