Home
last modified time | relevance | path

Searched refs:new_stack (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dprocess_32.c280 char *new_stack; local
293 * p->thread_info new_stack childregs stack bottom
298 new_stack = task_stack_page(p) + THREAD_SIZE;
299 new_stack -= STACKFRAME_SZ + TRACEREG_SZ;
300 childregs = (struct pt_regs *) (new_stack + STACKFRAME_SZ);
309 ti->ksp = (unsigned long) new_stack;
315 memset(new_stack, 0, STACKFRAME_SZ + TRACEREG_SZ);
326 memcpy(new_stack, (char *)regs - STACKFRAME_SZ, STACKFRAME_SZ + TRACEREG_SZ);
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dprocess_32.c268 char *new_stack; local
281 * p->thread_info new_stack childregs stack bottom
286 new_stack = task_stack_page(p) + THREAD_SIZE;
287 new_stack -= STACKFRAME_SZ + TRACEREG_SZ;
288 childregs = (struct pt_regs *) (new_stack + STACKFRAME_SZ);
297 ti->ksp = (unsigned long) new_stack;
303 memset(new_stack, 0, STACKFRAME_SZ + TRACEREG_SZ);
312 memcpy(new_stack, (char *)regs - STACKFRAME_SZ, STACKFRAME_SZ + TRACEREG_SZ);
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dtraps.c773 struct bad_iret_stack tmp, *new_stack = in fixup_bad_iret() local
783 __memcpy(new_stack, &tmp, sizeof(tmp)); in fixup_bad_iret()
785 BUG_ON(!user_mode(&new_stack->regs)); in fixup_bad_iret()
786 return new_stack; in fixup_bad_iret()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dtraps.c826 struct pt_regs tmp, *new_stack; in fixup_bad_iret() local
836 new_stack = (struct pt_regs *)__this_cpu_read(cpu_tss_rw.x86_tss.sp0) - 1; in fixup_bad_iret()
845 __memcpy(new_stack, &tmp, sizeof(tmp)); in fixup_bad_iret()
847 BUG_ON(!user_mode(new_stack)); in fixup_bad_iret()
848 return new_stack; in fixup_bad_iret()
/kernel/linux/linux-5.10/arch/um/os-Linux/skas/
H A Dprocess.c471 int copy_context_skas0(unsigned long new_stack, int pid) in copy_context_skas0() argument
476 struct stub_data *child_data = (struct stub_data *) new_stack; in copy_context_skas0()
478 int new_fd = phys_mapping(to_phys((void *)new_stack), &new_offset); in copy_context_skas0()
/kernel/linux/linux-6.6/arch/um/os-Linux/skas/
H A Dprocess.c528 int copy_context_skas0(unsigned long new_stack, int pid) in copy_context_skas0() argument
533 struct stub_data *child_data = (struct stub_data *) new_stack; in copy_context_skas0()
535 int new_fd = phys_mapping(uml_to_phys((void *)new_stack), &new_offset); in copy_context_skas0()
/kernel/linux/linux-5.10/arch/alpha/boot/
H A Dbootp.c29 extern void move_stack(unsigned long new_stack);
H A Dbootpz.c51 extern void move_stack(unsigned long new_stack);
/kernel/linux/linux-6.6/arch/alpha/boot/
H A Dbootp.c29 extern void move_stack(unsigned long new_stack);
H A Dbootpz.c51 extern void move_stack(unsigned long new_stack);
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbtf_dump.c1085 __u32 *new_stack; in btf_dump_push_decl_stack_id() local
1090 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
1091 if (!new_stack) in btf_dump_push_decl_stack_id()
1093 d->decl_stack = new_stack; in btf_dump_push_decl_stack_id()
/kernel/linux/linux-5.10/tools/perf/util/
H A 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()
/kernel/linux/linux-6.6/tools/perf/util/
H A 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()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbtf_dump.c1208 __u32 *new_stack; in btf_dump_push_decl_stack_id() local
1213 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
1214 if (!new_stack) in btf_dump_push_decl_stack_id()
1216 d->decl_stack = new_stack; in btf_dump_push_decl_stack_id()
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dirq.c470 void call_on_stack(unsigned long p1, void *func, unsigned long new_stack);
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dirq.c446 void call_on_stack(unsigned long p1, void *func, unsigned long new_stack);

Completed in 22 milliseconds