Lines Matching refs:childregs
130 struct pt_regs *childregs; in copy_thread() local
146 childregs = task_pt_regs(p); in copy_thread()
147 p->thread.sp = (unsigned long) childregs; in copy_thread()
149 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
151 childregs->regs[4] = arg; in copy_thread()
152 childregs->regs[5] = usp; in copy_thread()
153 childregs->sr = SR_MD; in copy_thread()
155 childregs->sr |= SR_FD; in copy_thread()
162 *childregs = *current_pt_regs(); in copy_thread()
165 childregs->regs[15] = usp; in copy_thread()
169 childregs->gbr = childregs->regs[0]; in copy_thread()
171 childregs->regs[0] = 0; /* Set return value for child */ in copy_thread()