Lines Matching refs:childregs
111 struct pt_regs *childregs; in copy_thread() local
113 childregs = task_pt_regs(p); in copy_thread()
117 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
118 childregs->sp = (unsigned long)(childregs + 1); in copy_thread()
120 childregs->a0 = usp; /* function */ in copy_thread()
121 childregs->a1 = ustk_size; /* argument */ in copy_thread()
124 *childregs = *current_pt_regs(); in copy_thread()
126 childregs->sp = usp; in copy_thread()
131 p->thread.usp = childregs->sp; in copy_thread()
132 thread_saved_ksp(p) = (unsigned long)childregs - 8; in copy_thread()
142 childregs->dp = dp; in copy_thread()