Home
last modified time | relevance | path

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

/Linux-v5.4/arch/sparc/kernel/
Dprocess_32.c309 char *new_stack; local
327 new_stack = task_stack_page(p) + THREAD_SIZE;
328 new_stack -= STACKFRAME_SZ + TRACEREG_SZ;
329 childregs = (struct pt_regs *) (new_stack + STACKFRAME_SZ);
338 ti->ksp = (unsigned long) new_stack;
344 memset(new_stack, 0, STACKFRAME_SZ + TRACEREG_SZ);
355 memcpy(new_stack, (char *)regs - STACKFRAME_SZ, STACKFRAME_SZ + TRACEREG_SZ);
/Linux-v5.4/arch/x86/kernel/
Dtraps.c647 struct bad_iret_stack *new_stack = in fixup_bad_iret() local
651 memmove(&new_stack->regs.ip, (void *)s->regs.sp, 5*8); in fixup_bad_iret()
654 memmove(new_stack, s, offsetof(struct bad_iret_stack, regs.ip)); in fixup_bad_iret()
656 BUG_ON(!user_mode(&new_stack->regs)); in fixup_bad_iret()
657 return new_stack; in fixup_bad_iret()
/Linux-v5.4/arch/um/os-Linux/skas/
Dprocess.c467 int copy_context_skas0(unsigned long new_stack, int pid) in copy_context_skas0() argument
472 struct stub_data *child_data = (struct stub_data *) new_stack; in copy_context_skas0()
474 int new_fd = phys_mapping(to_phys((void *)new_stack), &new_offset); in copy_context_skas0()
/Linux-v5.4/arch/alpha/boot/
Dbootp.c30 extern void move_stack(unsigned long new_stack);
Dbootpz.c52 extern void move_stack(unsigned long new_stack);
/Linux-v5.4/tools/lib/bpf/
Dbtf_dump.c978 __u32 *new_stack; in btf_dump_push_decl_stack_id() local
983 new_stack = realloc(d->decl_stack, in btf_dump_push_decl_stack_id()
984 new_cap * sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
985 if (!new_stack) in btf_dump_push_decl_stack_id()
987 d->decl_stack = new_stack; in btf_dump_push_decl_stack_id()
/Linux-v5.4/tools/perf/util/
Dthread-stack.c112 struct thread_stack_entry *new_stack; in thread_stack__grow() local
118 new_stack = realloc(ts->stack, sz); in thread_stack__grow()
119 if (!new_stack) in thread_stack__grow()
122 ts->stack = new_stack; in thread_stack__grow()
/Linux-v5.4/arch/parisc/kernel/
Dirq.c466 void call_on_stack(unsigned long p1, void *func, unsigned long new_stack);