Home
last modified time | relevance | path

Searched refs:child_stack (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/arch/ia64/kernel/
Dprocess.c306 struct switch_stack *child_stack, *stack; in copy_thread() local
313 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread()
319 p->thread.ksp = (unsigned long) child_stack - 16; in copy_thread()
350 memset(child_stack, 0, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
351 child_stack->r4 = (unsigned long) args->fn; in copy_thread()
352 child_stack->r5 = (unsigned long) args->fn_arg; in copy_thread()
360 child_stack->ar_fpsr = child_ptregs->ar_fpsr in copy_thread()
362 child_stack->pr = (1 << PRED_KERNEL_STACK); in copy_thread()
363 child_stack->ar_bspstore = child_rbs; in copy_thread()
364 child_stack->b0 = (unsigned long) &ia64_ret_from_clone; in copy_thread()
[all …]
Dptrace.c401 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()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dns_current_pid_tgid.c17 static char child_stack[STACK_SIZE]; variable
68 cpid = clone(test_current_pid_tgid, child_stack + STACK_SIZE, in test_ns_current_pid_tgid_new_ns()
Dfexit_sleep.c24 static char child_stack[STACK_SIZE]; variable
41 cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel); in test_fexit_sleep()
/Linux-v6.1/tools/testing/selftests/sched/
Dcs_prctl_test.c135 void *child_stack; in create_threads() local
140 child_stack = malloc(STACK_SIZE); in create_threads()
141 if (!child_stack) in create_threads()
144 tid = clone(child_func_thread, child_stack + STACK_SIZE, THREAD_CLONE_FLAGS, NULL); in create_threads()