Lines Matching refs:childregs
125 struct pt_regs *childregs, *regs = current_pt_regs(); in copy_thread_tls() local
131 childregs = (struct pt_regs *) childksp - 1; in copy_thread_tls()
133 childksp = (unsigned long) childregs; in copy_thread_tls()
138 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread_tls()
150 childregs->cp0_status = status; in copy_thread_tls()
155 *childregs = *regs; in copy_thread_tls()
156 childregs->regs[7] = 0; /* Clear error flag */ in copy_thread_tls()
157 childregs->regs[2] = 0; /* Child gets zero as return value */ in copy_thread_tls()
159 childregs->regs[29] = usp; in copy_thread_tls()
162 p->thread.reg29 = (unsigned long) childregs; in copy_thread_tls()
169 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread_tls()