Lines Matching defs:childregs
96 struct pt_regs *childregs;
112 childregs = task_pt_regs(p);
113 p->thread.sp = (unsigned long) childregs;
115 memset(childregs, 0, sizeof(struct pt_regs));
117 childregs->regs[4] = (unsigned long) args->fn_arg;
118 childregs->regs[5] = (unsigned long) args->fn;
119 childregs->sr = SR_MD;
121 childregs->sr |= SR_FD;
127 *childregs = *current_pt_regs();
130 childregs->regs[15] = usp;
133 childregs->gbr = tls;
135 childregs->regs[0] = 0; /* Set return value for child */