/openbmc/linux/arch/powerpc/kernel/ |
H A D | stacktrace.c | 44 unsigned long newsp, ip; in arch_stack_walk() local 49 newsp = stack[0]; in arch_stack_walk() 55 sp = newsp; in arch_stack_walk() 69 unsigned long newsp; in arch_stack_walk_reliable() local 94 firstframe = false, sp = newsp) { in arch_stack_walk_reliable() 102 newsp = stack[0]; in arch_stack_walk_reliable() 104 if (newsp <= sp) in arch_stack_walk_reliable() 107 if (newsp != stack_end && in arch_stack_walk_reliable() 108 newsp > stack_end - STACK_FRAME_MIN_SIZE) { in arch_stack_walk_reliable()
|
/openbmc/qemu/linux-user/openrisc/ |
H A D | target_cpu.h | 24 target_ulong newsp, in cpu_clone_regs_child() argument 27 if (newsp) { in cpu_clone_regs_child() 28 cpu_set_gpr(env, 1, newsp); in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/sh4/ |
H A D | target_cpu.h | 22 static inline void cpu_clone_regs_child(CPUSH4State *env, target_ulong newsp, in cpu_clone_regs_child() argument 25 if (newsp) { in cpu_clone_regs_child() 26 env->gregs[15] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/loongarch64/ |
H A D | target_cpu.h | 12 target_ulong newsp, unsigned flags) in cpu_clone_regs_child() argument 14 if (newsp) { in cpu_clone_regs_child() 15 env->gpr[3] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/microblaze/ |
H A D | target_cpu.h | 22 static inline void cpu_clone_regs_child(CPUMBState *env, target_ulong newsp, in cpu_clone_regs_child() argument 25 if (newsp) { in cpu_clone_regs_child() 26 env->regs[R_SP] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/s390x/ |
H A D | target_cpu.h | 22 static inline void cpu_clone_regs_child(CPUS390XState *env, target_ulong newsp, in cpu_clone_regs_child() argument 25 if (newsp) { in cpu_clone_regs_child() 26 env->regs[15] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/hexagon/ |
H A D | target_cpu.h | 22 target_ulong newsp, unsigned flags) in cpu_clone_regs_child() argument 24 if (newsp) { in cpu_clone_regs_child() 25 env->gpr[HEX_REG_SP] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/cris/ |
H A D | target_cpu.h | 23 static inline void cpu_clone_regs_child(CPUCRISState *env, target_ulong newsp, in cpu_clone_regs_child() argument 26 if (newsp) { in cpu_clone_regs_child() 27 env->regs[14] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/riscv/ |
H A D | target_cpu.h | 4 static inline void cpu_clone_regs_child(CPURISCVState *env, target_ulong newsp, in cpu_clone_regs_child() argument 7 if (newsp) { in cpu_clone_regs_child() 8 env->gpr[xSP] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/aarch64/ |
H A D | target_cpu.h | 22 static inline void cpu_clone_regs_child(CPUARMState *env, target_ulong newsp, in cpu_clone_regs_child() argument 25 if (newsp) { in cpu_clone_regs_child() 26 env->xregs[31] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/mips/ |
H A D | target_cpu.h | 22 static inline void cpu_clone_regs_child(CPUMIPSState *env, target_ulong newsp, in cpu_clone_regs_child() argument 25 if (newsp) { in cpu_clone_regs_child() 26 env->active_tc.gpr[29] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/xtensa/ |
H A D | target_cpu.h | 8 target_ulong newsp, in cpu_clone_regs_child() argument 11 if (newsp) { in cpu_clone_regs_child() 12 env->regs[1] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/m68k/ |
H A D | target_cpu.h | 24 static inline void cpu_clone_regs_child(CPUM68KState *env, target_ulong newsp, in cpu_clone_regs_child() argument 27 if (newsp) { in cpu_clone_regs_child() 28 env->aregs[7] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/hppa/ |
H A D | target_cpu.h | 22 static inline void cpu_clone_regs_child(CPUHPPAState *env, target_ulong newsp, in cpu_clone_regs_child() argument 25 if (newsp) { in cpu_clone_regs_child() 26 env->gr[30] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/ppc/ |
H A D | target_cpu.h | 22 static inline void cpu_clone_regs_child(CPUPPCState *env, target_ulong newsp, in cpu_clone_regs_child() argument 25 if (newsp) { in cpu_clone_regs_child() 26 env->gpr[1] = newsp; in cpu_clone_regs_child()
|
H A D | signal.c | 431 target_ulong frame_addr, newsp; in setup_frame() local 455 newsp = frame_addr - SIGNAL_FRAMESIZE; in setup_frame() 456 err |= put_user(env->gpr[1], newsp, target_ulong); in setup_frame() 462 env->gpr[1] = newsp; in setup_frame() 486 target_ulong rt_sf_addr, newsp = 0; in setup_rt_frame() local 528 newsp = rt_sf_addr - (SIGNAL_FRAMESIZE + 16); in setup_rt_frame() 529 err |= put_user(env->gpr[1], newsp, target_ulong); in setup_rt_frame() 535 env->gpr[1] = newsp; in setup_rt_frame()
|
/openbmc/qemu/linux-user/alpha/ |
H A D | target_cpu.h | 22 static inline void cpu_clone_regs_child(CPUAlphaState *env, target_ulong newsp, in cpu_clone_regs_child() argument 25 if (newsp) { in cpu_clone_regs_child() 26 env->ir[IR_SP] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/i386/ |
H A D | target_cpu.h | 23 static inline void cpu_clone_regs_child(CPUX86State *env, target_ulong newsp, in cpu_clone_regs_child() argument 26 if (newsp) { in cpu_clone_regs_child() 27 env->regs[R_ESP] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/arm/ |
H A D | target_cpu.h | 44 static inline void cpu_clone_regs_child(CPUARMState *env, target_ulong newsp, in cpu_clone_regs_child() argument 47 if (newsp) { in cpu_clone_regs_child() 48 env->regs[13] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/linux-user/sparc/ |
H A D | target_cpu.h | 40 static inline void cpu_clone_regs_child(CPUSPARCState *env, target_ulong newsp, in cpu_clone_regs_child() argument 49 if (newsp) { in cpu_clone_regs_child() 61 env->regwptr[WREG_SP] = newsp; in cpu_clone_regs_child()
|
/openbmc/qemu/bsd-user/aarch64/ |
H A D | target_arch_cpu.h | 174 static inline void target_cpu_clone_regs(CPUARMState *env, target_ulong newsp) in target_cpu_clone_regs() argument 176 if (newsp) { in target_cpu_clone_regs() 177 env->xregs[31] = newsp; in target_cpu_clone_regs()
|
/openbmc/qemu/bsd-user/arm/ |
H A D | target_arch_cpu.h | 201 static inline void target_cpu_clone_regs(CPUARMState *env, target_ulong newsp) in target_cpu_clone_regs() argument 203 if (newsp) { in target_cpu_clone_regs() 204 env->regs[13] = newsp; in target_cpu_clone_regs()
|
/openbmc/qemu/bsd-user/x86_64/ |
H A D | target_arch_cpu.h | 164 static inline void target_cpu_clone_regs(CPUX86State *env, target_ulong newsp) in target_cpu_clone_regs() argument 166 if (newsp) { in target_cpu_clone_regs() 167 env->regs[R_ESP] = newsp; in target_cpu_clone_regs()
|
/openbmc/qemu/bsd-user/i386/ |
H A D | target_arch_cpu.h | 189 static inline void target_cpu_clone_regs(CPUX86State *env, target_ulong newsp) in target_cpu_clone_regs() argument 191 if (newsp) { in target_cpu_clone_regs() 192 env->regs[R_ESP] = newsp; in target_cpu_clone_regs()
|
/openbmc/linux/tools/testing/selftests/arm64/abi/ |
H A D | tpidr2.c | 164 static int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 168 return my_syscall5(__NR_clone, clone_flags, newsp, parent_tidptr, tls, in sys_clone()
|