Searched refs:new_stack (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/arch/sparc/kernel/ |
D | process_32.c | 309 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-v4.19/arch/x86/kernel/ |
D | traps.c | 659 struct bad_iret_stack *new_stack = in fixup_bad_iret() local 663 memmove(&new_stack->regs.ip, (void *)s->regs.sp, 5*8); in fixup_bad_iret() 666 memmove(new_stack, s, offsetof(struct bad_iret_stack, regs.ip)); in fixup_bad_iret() 668 BUG_ON(!user_mode(&new_stack->regs)); in fixup_bad_iret() 669 return new_stack; in fixup_bad_iret()
|
/Linux-v4.19/tools/perf/util/ |
D | thread-stack.c | 76 struct thread_stack_entry *new_stack; in thread_stack__grow() local 82 new_stack = realloc(ts->stack, sz); in thread_stack__grow() 83 if (!new_stack) in thread_stack__grow() 86 ts->stack = new_stack; in thread_stack__grow()
|
/Linux-v4.19/arch/um/os-Linux/skas/ |
D | process.c | 467 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-v4.19/arch/alpha/boot/ |
D | bootp.c | 30 extern void move_stack(unsigned long new_stack);
|
D | bootpz.c | 52 extern void move_stack(unsigned long new_stack);
|
/Linux-v4.19/arch/parisc/kernel/ |
D | irq.c | 470 void call_on_stack(unsigned long p1, void *func, unsigned long new_stack);
|
/Linux-v4.19/kernel/bpf/ |
D | verifier.c | 391 struct bpf_stack_state *new_stack; in realloc_func_state() local 404 new_stack = kmalloc_array(slot, sizeof(struct bpf_stack_state), in realloc_func_state() 406 if (!new_stack) in realloc_func_state() 410 memcpy(new_stack, state->stack, in realloc_func_state() 411 sizeof(*new_stack) * (old_size / BPF_REG_SIZE)); in realloc_func_state() 412 memset(new_stack + old_size / BPF_REG_SIZE, 0, in realloc_func_state() 413 sizeof(*new_stack) * (size - old_size) / BPF_REG_SIZE); in realloc_func_state() 417 state->stack = new_stack; in realloc_func_state()
|