Lines Matching refs:childregs
135 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
139 p->thread.sp = (unsigned long) childregs; in copy_thread()
140 p->thread.sp0 = (unsigned long) (childregs+1); in copy_thread()
145 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
148 childregs->ds = __USER_DS; in copy_thread()
149 childregs->es = __USER_DS; in copy_thread()
150 childregs->fs = __KERNEL_PERCPU; in copy_thread()
151 childregs->bx = sp; /* function */ in copy_thread()
152 childregs->bp = arg; in copy_thread()
153 childregs->orig_ax = -1; in copy_thread()
154 childregs->cs = __KERNEL_CS | get_kernel_rpl(); in copy_thread()
155 childregs->flags = X86_EFLAGS_IF | X86_EFLAGS_FIXED; in copy_thread()
159 *childregs = *current_pt_regs(); in copy_thread()
160 childregs->ax = 0; in copy_thread()
162 childregs->sp = sp; in copy_thread()
188 (struct user_desc __user *)childregs->si, 0); in copy_thread()