Lines Matching refs:child_stack
340 struct switch_stack *child_stack, *stack; in copy_thread() local
347 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread()
353 p->thread.ksp = (unsigned long) child_stack - 16; in copy_thread()
384 memset(child_stack, 0, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
385 child_stack->r4 = user_stack_base; /* payload */ in copy_thread()
386 child_stack->r5 = user_stack_size; /* argument */ in copy_thread()
394 child_stack->ar_fpsr = child_ptregs->ar_fpsr in copy_thread()
396 child_stack->pr = (1 << PRED_KERNEL_STACK); in copy_thread()
397 child_stack->ar_bspstore = child_rbs; in copy_thread()
398 child_stack->b0 = (unsigned long) &ia64_ret_from_clone; in copy_thread()
412 memcpy(child_stack, stack, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
425 child_stack->ar_bspstore = child_rbs + rbs_size; in copy_thread()
426 child_stack->b0 = (unsigned long) &ia64_ret_from_clone; in copy_thread()