Lines Matching refs:childregs
159 struct pt_regs *childregs; in copy_thread() local
163 childregs = task_pt_regs(p); in copy_thread()
164 p->thread.sp = (unsigned long) childregs; in copy_thread()
178 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
179 childregs->sp = (unsigned long)childregs; in copy_thread()
180 childregs->ss = __KERNEL_DS; in copy_thread()
181 childregs->bx = sp; /* function */ in copy_thread()
182 childregs->bp = arg; in copy_thread()
183 childregs->orig_ax = -1; in copy_thread()
184 childregs->cs = __KERNEL_CS | get_kernel_rpl(); in copy_thread()
185 childregs->flags = X86_EFLAGS_IF | X86_EFLAGS_FIXED; in copy_thread()
188 *childregs = *current_pt_regs(); in copy_thread()
190 childregs->ax = 0; in copy_thread()
192 childregs->sp = sp; in copy_thread()
212 (struct user_desc __user *)childregs->si, 0); in copy_thread()
215 err = do_arch_prctl(p, ARCH_SET_FS, childregs->r8); in copy_thread()