Lines Matching refs:childregs
117 struct pt_regs *childregs; in copy_thread() local
119 childregs = task_pt_regs(p); in copy_thread()
123 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
124 childregs->sp = (unsigned long)(childregs + 1); in copy_thread()
126 childregs->a0 = usp; /* function */ in copy_thread()
127 childregs->a1 = ustk_size; /* argument */ in copy_thread()
130 *childregs = *current_pt_regs(); in copy_thread()
132 childregs->sp = usp; in copy_thread()
137 p->thread.usp = childregs->sp; in copy_thread()
138 thread_saved_ksp(p) = (unsigned long)childregs - 8; in copy_thread()
148 childregs->dp = dp; in copy_thread()