Home
last modified time | relevance | path

Searched refs:new_sp (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/arch/ia64/kernel/
H A Dsignal.c229 unsigned long tramp_addr, new_rbs = 0, new_sp; in setup_frame() local
233 new_sp = scr->pt.r12; in setup_frame()
236 int onstack = sas_ss_flags(new_sp); in setup_frame()
239 new_sp = current->sas_ss_sp + current->sas_ss_size; in setup_frame()
257 check_sp = (new_sp - sizeof(*frame)) & -STACK_ALIGN; in setup_frame()
264 frame = (void __user *) ((new_sp - sizeof(*frame)) & -STACK_ALIGN); in setup_frame()
/openbmc/linux/fs/
H A Dcompat_binfmt_elf.c104 #define COMPAT_START_THREAD(ex, regs, new_ip, new_sp) \ argument
105 compat_start_thread(regs, new_ip, new_sp)
/openbmc/linux/arch/loongarch/kernel/
H A Dsignal.c861 unsigned long new_sp = sp; in setup_extcontext() local
868 new_sp -= sizeof(struct sctx_info); in setup_extcontext()
869 extctx->end.addr = (void *)new_sp; in setup_extcontext()
875 new_sp = extframe_alloc(extctx, &extctx->lasx, in setup_extcontext()
878 new_sp = extframe_alloc(extctx, &extctx->lsx, in setup_extcontext()
879 sizeof(struct lsx_context), LSX_CTX_ALIGN, new_sp); in setup_extcontext()
881 new_sp = extframe_alloc(extctx, &extctx->fpu, in setup_extcontext()
882 sizeof(struct fpu_context), FPU_CTX_ALIGN, new_sp); in setup_extcontext()
887 new_sp = extframe_alloc(extctx, &extctx->lbt, in setup_extcontext()
888 sizeof(struct lbt_context), LBT_CTX_ALIGN, new_sp); in setup_extcontext()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dprocess_32.c112 start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) in start_thread() argument
121 regs->sp = new_sp; in start_thread()
H A Dprocess_64.c507 unsigned long new_sp, in start_thread_common() argument
526 regs->sp = new_sp; in start_thread_common()
533 start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) in start_thread() argument
535 start_thread_common(regs, new_ip, new_sp, in start_thread()
541 void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp, bool x32) in compat_start_thread() argument
543 start_thread_common(regs, new_ip, new_sp, in compat_start_thread()
H A Duprobes.c528 unsigned long new_sp = regs->sp - sizeof_long(regs); in emulate_push_stack() local
530 if (copy_to_user((void __user *)new_sp, &val, sizeof_long(regs))) in emulate_push_stack()
533 regs->sp = new_sp; in emulate_push_stack()
/openbmc/linux/arch/sh/kernel/
H A Dprocess_32.c63 unsigned long new_sp) in start_thread() argument
68 regs->regs[15] = new_sp; in start_thread()
/openbmc/linux/arch/xtensa/include/asm/
H A Dprocessor.h198 #define start_thread(regs, new_pc, new_sp) \ argument
207 (regs)->areg[1] = (new_sp); \
/openbmc/linux/arch/x86/include/asm/
H A Delf.h174 void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp, bool x32);
175 #define COMPAT_START_THREAD(ex, regs, new_ip, new_sp) \ argument
176 compat_start_thread(regs, new_ip, new_sp, ex->e_machine == EM_X86_64)
H A Dprocessor.h660 unsigned long new_sp);
/openbmc/linux/arch/parisc/include/asm/
H A Dprocessor.h241 #define start_thread(regs, new_pc, new_sp) do { \ argument
242 elf_addr_t *sp = (elf_addr_t *)new_sp; \
/openbmc/linux/arch/sh/include/asm/
H A Dprocessor_32.h129 extern void start_thread(struct pt_regs *regs, unsigned long new_pc, unsigned long new_sp);
/openbmc/qemu/target/m68k/
H A Dhelper.c434 int new_sp; in m68k_switch_sp() local
441 new_sp = M68K_SSP; in m68k_switch_sp()
443 new_sp = M68K_ISP; in m68k_switch_sp()
446 new_sp = M68K_USP; in m68k_switch_sp()
449 new_sp = (env->sr & SR_S && env->cacr & M68K_CACR_EUSP) in m68k_switch_sp()
452 env->aregs[7] = env->sp[new_sp]; in m68k_switch_sp()
453 env->current_sp = new_sp; in m68k_switch_sp()
/openbmc/linux/arch/ia64/include/asm/
H A Dprocessor.h296 #define start_thread(regs,new_ip,new_sp) do { \ argument
306 regs->r12 = new_sp - 16; /* allocate 16 byte scratch area */ \