Lines Matching refs:child_stack
307 struct switch_stack *child_stack, *stack; in copy_thread() local
314 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread()
320 p->thread.ksp = (unsigned long) child_stack - 16; in copy_thread()
351 memset(child_stack, 0, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
352 child_stack->r4 = (unsigned long) args->fn; in copy_thread()
353 child_stack->r5 = (unsigned long) args->fn_arg; in copy_thread()
361 child_stack->ar_fpsr = child_ptregs->ar_fpsr in copy_thread()
363 child_stack->pr = (1 << PRED_KERNEL_STACK); in copy_thread()
364 child_stack->ar_bspstore = child_rbs; in copy_thread()
365 child_stack->b0 = (unsigned long) &ia64_ret_from_clone; in copy_thread()
379 memcpy(child_stack, stack, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
392 child_stack->ar_bspstore = child_rbs + rbs_size; in copy_thread()
393 child_stack->b0 = (unsigned long) &ia64_ret_from_clone; in copy_thread()