/arch/powerpc/kernel/ |
D | stacktrace.c | 27 unsigned long newsp, ip; in save_context_stack() local 32 newsp = stack[0]; in save_context_stack() 45 sp = newsp; in save_context_stack()
|
D | signal.c | 31 unsigned long oldsp, newsp; in get_sigframe() local 42 newsp = (oldsp - frame_size) & ~0xFUL; in get_sigframe() 45 if (!access_ok(VERIFY_WRITE, (void __user *)newsp, oldsp - newsp)) in get_sigframe() 48 return (void __user *)newsp; in get_sigframe()
|
D | signal_64.c | 402 unsigned long newsp = 0; in handle_rt_signal64() local 443 newsp = ((unsigned long)frame) - __SIGNAL_FRAMESIZE; in handle_rt_signal64() 444 err |= put_user(regs->gpr[1], (unsigned long __user *)newsp); in handle_rt_signal64() 450 regs->gpr[1] = newsp; in handle_rt_signal64() 469 regs, frame, newsp); in handle_rt_signal64()
|
D | signal_32.c | 835 unsigned long newsp = 0; in handle_rt_signal32() local 873 newsp = ((unsigned long)rt_sf) - (__SIGNAL_FRAMESIZE + 16); in handle_rt_signal32() 875 if (put_user(regs->gpr[1], (u32 __user *)newsp)) in handle_rt_signal32() 879 regs->gpr[1] = newsp; in handle_rt_signal32() 893 regs, frame, newsp); in handle_rt_signal32() 1182 unsigned long newsp = 0; in handle_signal32() local 1217 newsp = ((unsigned long)frame) - __SIGNAL_FRAMESIZE; in handle_signal32() 1218 if (put_user(regs->gpr[1], (u32 __user *)newsp)) in handle_signal32() 1221 regs->gpr[1] = newsp; in handle_signal32() 1234 regs, frame, newsp); in handle_signal32()
|
/arch/um/sys-x86_64/ |
D | syscalls.c | 96 long sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 101 if (!newsp) in sys_clone() 102 newsp = UPT_SP(¤t->thread.regs.regs); in sys_clone() 104 ret = do_fork(clone_flags, newsp, ¤t->thread.regs, 0, parent_tid, in sys_clone()
|
/arch/h8300/kernel/ |
D | process.c | 183 unsigned long newsp; in h8300_clone() local 187 newsp = regs->er2; in h8300_clone() 188 if (!newsp) in h8300_clone() 189 newsp = rdusp(); in h8300_clone() 190 return do_fork(clone_flags, newsp, regs, 0, NULL, NULL); in h8300_clone()
|
/arch/blackfin/kernel/ |
D | process.c | 176 unsigned long newsp; in bfin_clone() local 187 newsp = regs->r1; in bfin_clone() 188 if (!newsp) in bfin_clone() 189 newsp = rdusp(); in bfin_clone() 191 newsp -= 12; in bfin_clone() 192 return do_fork(clone_flags, newsp, regs, 0, NULL, NULL); in bfin_clone()
|
/arch/m68k/kernel/ |
D | process.c | 222 unsigned long newsp; in m68k_clone() local 227 newsp = regs->d2; in m68k_clone() 230 if (!newsp) in m68k_clone() 231 newsp = rdusp(); in m68k_clone() 232 return do_fork(clone_flags, newsp, regs, 0, in m68k_clone()
|
/arch/s390/kernel/ |
D | process.c | 239 unsigned long newsp; in SYSCALL_DEFINE0() local 243 newsp = regs->orig_gpr2; in SYSCALL_DEFINE0() 246 if (!newsp) in SYSCALL_DEFINE0() 247 newsp = regs->gprs[15]; in SYSCALL_DEFINE0() 248 return do_fork(clone_flags, newsp, regs, 0, in SYSCALL_DEFINE0()
|
/arch/um/sys-i386/ |
D | syscalls.c | 73 long sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 78 if (!newsp) in sys_clone() 79 newsp = UPT_SP(¤t->thread.regs.regs); in sys_clone() 82 ret = do_fork(clone_flags, newsp, ¤t->thread.regs, 0, parent_tid, in sys_clone()
|
/arch/m32r/kernel/ |
D | process.c | 257 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 263 if (!newsp) in sys_clone() 264 newsp = regs.spu; in sys_clone() 266 return do_fork(clone_flags, newsp, ®s, 0, in sys_clone()
|
/arch/xtensa/kernel/ |
D | process.c | 306 long xtensa_clone(unsigned long clone_flags, unsigned long newsp, in xtensa_clone() argument 311 if (!newsp) in xtensa_clone() 312 newsp = regs->areg[1]; in xtensa_clone() 313 return do_fork(clone_flags, newsp, regs, 0, parent_tid, child_tid); in xtensa_clone()
|
/arch/m68knommu/kernel/ |
D | process.c | 192 unsigned long newsp; in m68k_clone() local 196 newsp = regs->d2; in m68k_clone() 197 if (!newsp) in m68k_clone() 198 newsp = rdusp(); in m68k_clone() 199 return do_fork(clone_flags, newsp, regs, 0, NULL, NULL); in m68k_clone()
|
/arch/frv/kernel/ |
D | process.c | 184 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 188 if (!newsp) in sys_clone() 189 newsp = user_stack(__frame); in sys_clone() 190 return do_fork(clone_flags, newsp, __frame, 0, parent_tidptr, child_tidptr); in sys_clone()
|
D | kernel_thread.S | 41 sethi.p #0xe4e4,gr9 ; second syscall arg [newsp]
|
/arch/arm/kernel/ |
D | sys_arm.c | 230 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 234 if (!newsp) in sys_clone() 235 newsp = regs->ARM_sp; in sys_clone() 237 return do_fork(clone_flags, newsp, regs, 0, parent_tidptr, child_tidptr); in sys_clone()
|
/arch/mips/kernel/ |
D | syscall.c | 193 unsigned long newsp; in _sys_clone() local 197 newsp = regs.regs[5]; in _sys_clone() 198 if (!newsp) in _sys_clone() 199 newsp = regs.regs[29]; in _sys_clone() 216 return do_fork(clone_flags, newsp, ®s, 0, in _sys_clone()
|
D | linux32.c | 451 unsigned long newsp; in _sys32_clone() local 455 newsp = regs.regs[5]; in _sys32_clone() 456 if (!newsp) in _sys32_clone() 457 newsp = regs.regs[29]; in _sys32_clone() 463 return do_fork(clone_flags, newsp, ®s, 0, in _sys32_clone()
|
/arch/sh/kernel/ |
D | process_32.c | 308 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 314 if (!newsp) in sys_clone() 315 newsp = regs->regs[15]; in sys_clone() 316 return do_fork(clone_flags, newsp, regs, 0, in sys_clone()
|
D | process_64.c | 484 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 489 if (!newsp) in sys_clone() 490 newsp = pregs->regs[15]; in sys_clone() 491 return do_fork(clone_flags, newsp, pregs, 0, 0, 0); in sys_clone()
|
/arch/avr32/kernel/ |
D | process.c | 368 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 372 if (!newsp) in sys_clone() 373 newsp = regs->sp; in sys_clone() 374 return do_fork(clone_flags, newsp, regs, 0, in sys_clone()
|
/arch/sh/include/asm/ |
D | syscalls_64.h | 16 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
|
D | syscalls_32.h | 15 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
|
/arch/x86/kernel/ |
D | process_32.c | 604 unsigned long newsp; in sys_clone() local 608 newsp = regs.cx; in sys_clone() 611 if (!newsp) in sys_clone() 612 newsp = regs.sp; in sys_clone() 613 return do_fork(clone_flags, newsp, ®s, 0, parent_tidptr, child_tidptr); in sys_clone()
|
/arch/mn10300/kernel/ |
D | process.c | 252 asmlinkage long sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 256 return do_fork(clone_flags, newsp ?: __frame->sp, __frame, 0, in sys_clone()
|