Lines Matching refs:childregs
366 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
380 *childregs = *current_pt_regs(); in copy_thread()
381 childregs->regs[0] = 0; in copy_thread()
391 childregs->compat_sp = stack_start; in copy_thread()
393 childregs->sp = stack_start; in copy_thread()
401 p->thread.uw.tp_value = childregs->regs[3]; in copy_thread()
403 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
404 childregs->pstate = PSR_MODE_EL1h; in copy_thread()
407 childregs->pstate |= PSR_UAO_BIT; in copy_thread()
410 set_ssbs_bit(childregs); in copy_thread()
413 childregs->pmr_save = GIC_PRIO_IRQON; in copy_thread()
419 p->thread.cpu_context.sp = (unsigned long)childregs; in copy_thread()