Lines Matching refs:childregs
99 struct pt_regs *childregs; in copy_thread() local
115 childregs = task_pt_regs(p); in copy_thread()
116 p->thread.sp = (unsigned long) childregs; in copy_thread()
118 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
120 childregs->regs[4] = arg; in copy_thread()
121 childregs->regs[5] = usp; in copy_thread()
122 childregs->sr = SR_MD; in copy_thread()
124 childregs->sr |= SR_FD; in copy_thread()
131 *childregs = *current_pt_regs(); in copy_thread()
134 childregs->regs[15] = usp; in copy_thread()
138 childregs->gbr = tls; in copy_thread()
140 childregs->regs[0] = 0; /* Set return value for child */ in copy_thread()