Lines Matching refs:childregs
122 struct pt_regs *childregs; in copy_thread() local
138 childregs = task_pt_regs(p); in copy_thread()
139 p->thread.sp = (unsigned long) childregs; in copy_thread()
141 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
143 childregs->regs[4] = arg; in copy_thread()
144 childregs->regs[5] = usp; in copy_thread()
145 childregs->sr = SR_MD; in copy_thread()
147 childregs->sr |= SR_FD; in copy_thread()
154 *childregs = *current_pt_regs(); in copy_thread()
157 childregs->regs[15] = usp; in copy_thread()
161 childregs->gbr = childregs->regs[0]; in copy_thread()
163 childregs->regs[0] = 0; /* Set return value for child */ in copy_thread()