Lines Matching refs:child_ptregs
342 struct pt_regs *child_ptregs; in copy_thread() local
346 child_ptregs = (struct pt_regs *) ((unsigned long) p + IA64_STK_OFFSET) - 1; in copy_thread()
347 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread()
384 memset(child_stack, 0, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
391 child_ptregs->cr_ipsr = ia64_getreg(_IA64_REG_PSR) | IA64_PSR_BN; in copy_thread()
393 child_ptregs->cr_ifs = 1UL << 63; in copy_thread()
394 child_stack->ar_fpsr = child_ptregs->ar_fpsr in copy_thread()
405 child_ptregs->cr_ipsr = ((child_ptregs->cr_ipsr | IA64_PSR_BITS_TO_SET) in copy_thread()
412 memcpy(child_stack, stack, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
418 child_ptregs->r13 = regs->r16; /* see sys_clone2() in entry.S */ in copy_thread()
420 child_ptregs->r12 = user_stack_base + user_stack_size - 16; in copy_thread()
421 child_ptregs->ar_bspstore = user_stack_base; in copy_thread()
422 child_ptregs->ar_rnat = 0; in copy_thread()
423 child_ptregs->loadrs = 0; in copy_thread()
433 child_ptregs->cr_ipsr = ((child_ptregs->cr_ipsr | IA64_PSR_BITS_TO_SET) in copy_thread()
438 pfm_inherit(p, child_ptregs); in copy_thread()