Lines Matching refs:childregs
194 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
201 *((int*)childregs - 3) = (unsigned long)childregs; in copy_thread()
202 *((int*)childregs - 4) = 0; in copy_thread()
204 p->thread.sp = (unsigned long)childregs; in copy_thread()
218 *childregs = *regs; in copy_thread()
219 childregs->areg[1] = usp; in copy_thread()
220 childregs->areg[2] = 0; in copy_thread()
237 int len = childregs->wmask & ~0xf; in copy_thread()
244 childregs->wmask = 1; in copy_thread()
245 childregs->windowstart = 1; in copy_thread()
246 childregs->windowbase = 0; in copy_thread()
248 int len = childregs->wmask & ~0xf; in copy_thread()
249 memcpy(&childregs->areg[XCHAL_NUM_AREGS - len/4], in copy_thread()
255 childregs->threadptr = childregs->areg[5]; in copy_thread()
263 *((int *)childregs - 1) = thread_fn_arg; in copy_thread()
264 *((int *)childregs - 2) = usp_thread_fn; in copy_thread()