Home
last modified time | relevance | path

Searched refs:new_stack (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/arch/sparc/kernel/
Dprocess_32.c269 char *new_stack; local
287 new_stack = task_stack_page(p) + THREAD_SIZE;
288 new_stack -= STACKFRAME_SZ + TRACEREG_SZ;
289 childregs = (struct pt_regs *) (new_stack + STACKFRAME_SZ);
298 ti->ksp = (unsigned long) new_stack;
304 memset(new_stack, 0, STACKFRAME_SZ + TRACEREG_SZ);
313 memcpy(new_stack, (char *)regs - STACKFRAME_SZ, STACKFRAME_SZ + TRACEREG_SZ);
/linux-6.1.9/arch/x86/kernel/
Dtraps.c912 struct pt_regs tmp, *new_stack; in fixup_bad_iret() local
922 new_stack = (struct pt_regs *)__this_cpu_read(cpu_tss_rw.x86_tss.sp0) - 1; in fixup_bad_iret()
931 __memcpy(new_stack, &tmp, sizeof(tmp)); in fixup_bad_iret()
933 BUG_ON(!user_mode(new_stack)); in fixup_bad_iret()
934 return new_stack; in fixup_bad_iret()
/linux-6.1.9/arch/um/os-Linux/skas/
Dprocess.c531 int copy_context_skas0(unsigned long new_stack, int pid) in copy_context_skas0() argument
536 struct stub_data *child_data = (struct stub_data *) new_stack; in copy_context_skas0()
538 int new_fd = phys_mapping(uml_to_phys((void *)new_stack), &new_offset); in copy_context_skas0()
/linux-6.1.9/arch/alpha/boot/
Dbootp.c29 extern void move_stack(unsigned long new_stack);
Dbootpz.c51 extern void move_stack(unsigned long new_stack);
/linux-6.1.9/tools/perf/util/
Dthread-stack.c120 struct thread_stack_entry *new_stack; in thread_stack__grow() local
126 new_stack = realloc(ts->stack, sz); in thread_stack__grow()
127 if (!new_stack) in thread_stack__grow()
130 ts->stack = new_stack; in thread_stack__grow()
/linux-6.1.9/tools/lib/bpf/
Dbtf_dump.c1107 __u32 *new_stack; in btf_dump_push_decl_stack_id() local
1112 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
1113 if (!new_stack) in btf_dump_push_decl_stack_id()
1115 d->decl_stack = new_stack; in btf_dump_push_decl_stack_id()
/linux-6.1.9/arch/parisc/kernel/
Dirq.c449 void call_on_stack(unsigned long p1, void *func, unsigned long new_stack);