Searched refs:child_stack (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/arch/ia64/kernel/ |
H A D | process.c | 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() [all …]
|
H A D | ptrace.c | 401 ia64_peek (struct task_struct *child, struct switch_stack *child_stack, in ia64_peek() argument 423 ret = get_rnat(child, child_stack, krbs, rnat_addr, urbs_end); in ia64_peek() 463 ia64_poke (struct task_struct *child, struct switch_stack *child_stack, in ia64_poke() argument 483 put_rnat(child, child_stack, krbs, laddr, val, in ia64_poke()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | fexit_sleep.c | 30 char *child_stack = NULL; in test_fexit_sleep() local 41 child_stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | in test_fexit_sleep() 43 if (!ASSERT_NEQ(child_stack, MAP_FAILED, "mmap")) in test_fexit_sleep() 46 cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel); in test_fexit_sleep() 86 munmap(child_stack, STACK_SIZE); in test_fexit_sleep()
|
H A D | ns_current_pid_tgid.c | 18 static char child_stack[STACK_SIZE]; variable 130 cpid = clone(fn, child_stack + STACK_SIZE, in test_ns_current_pid_tgid_new_ns()
|
/openbmc/linux/tools/testing/selftests/powerpc/dexcr/ |
H A D | hashchk_test.c | 191 void *child_stack; in hashchk_clone_share_key_test() local 199 child_stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, in hashchk_clone_share_key_test() 202 FAIL_IF_MSG(child_stack == MAP_FAILED, "failed to map child stack"); in hashchk_clone_share_key_test() 204 pid = clone(hashchk_clone_child_fn, child_stack + STACK_SIZE, in hashchk_clone_share_key_test()
|
/openbmc/linux/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 136 void *child_stack; in create_threads() local 141 child_stack = malloc(STACK_SIZE); in create_threads() 142 if (!child_stack) in create_threads() 145 tid = clone(child_func_thread, child_stack + STACK_SIZE, THREAD_CLONE_FLAGS, NULL); in create_threads()
|