/arch/openrisc/kernel/ |
D | sys_or32.c | 33 asmlinkage long _sys_clone(unsigned long clone_flags, unsigned long newsp, in _sys_clone() argument 42 if (!newsp) in _sys_clone() 43 newsp = regs->sp; in _sys_clone() 45 ret = do_fork(clone_flags, newsp, regs, 0, parent_tid, child_tid); in _sys_clone()
|
/arch/hexagon/kernel/ |
D | syscall.c | 57 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 62 if (!newsp) in sys_clone() 63 newsp = pregs->SP; in sys_clone() 64 return do_fork(clone_flags, newsp, pregs, 0, (int __user *)parent_tidp, in sys_clone()
|
/arch/score/kernel/ |
D | sys_score.c | 66 unsigned long newsp; in score_clone() local 70 newsp = regs->regs[5]; in score_clone() 71 if (!newsp) in score_clone() 72 newsp = regs->regs[0]; in score_clone() 76 return do_fork(clone_flags, newsp, regs, 0, in score_clone()
|
/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 | 34 unsigned long oldsp, newsp; in get_sigframe() local 45 newsp = (oldsp - frame_size) & ~0xFUL; in get_sigframe() 48 if (!access_ok(VERIFY_WRITE, (void __user *)newsp, oldsp - newsp)) in get_sigframe() 51 return (void __user *)newsp; in get_sigframe()
|
D | signal_64.c | 403 unsigned long newsp = 0; in handle_rt_signal64() local 444 newsp = ((unsigned long)frame) - __SIGNAL_FRAMESIZE; in handle_rt_signal64() 445 err |= put_user(regs->gpr[1], (unsigned long __user *)newsp); in handle_rt_signal64() 451 regs->gpr[1] = newsp; in handle_rt_signal64() 470 regs, frame, newsp); in handle_rt_signal64()
|
/arch/unicore32/kernel/ |
D | sys.c | 34 asmlinkage long __sys_clone(unsigned long clone_flags, unsigned long newsp, in __sys_clone() argument 38 if (!newsp) in __sys_clone() 39 newsp = regs->UCreg_sp; in __sys_clone() 41 return do_fork(clone_flags, newsp, regs, 0, in __sys_clone()
|
/arch/arm/kernel/ |
D | sys_arm.c | 47 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 51 if (!newsp) in sys_clone() 52 newsp = regs->ARM_sp; in sys_clone() 54 return do_fork(clone_flags, newsp, regs, 0, parent_tidptr, child_tidptr); in sys_clone()
|
/arch/x86/um/ |
D | syscalls_32.c | 22 long sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 27 if (!newsp) in sys_clone() 28 newsp = UPT_SP(¤t->thread.regs.regs); in sys_clone() 31 ret = do_fork(clone_flags, newsp, ¤t->thread.regs, 0, parent_tid, in sys_clone()
|
D | syscalls_64.c | 82 long sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 87 if (!newsp) in sys_clone() 88 newsp = UPT_SP(¤t->thread.regs.regs); in sys_clone() 90 ret = do_fork(clone_flags, newsp, ¤t->thread.regs, 0, parent_tid, in sys_clone()
|
/arch/h8300/kernel/ |
D | process.c | 182 unsigned long newsp; in h8300_clone() local 186 newsp = regs->er2; in h8300_clone() 187 if (!newsp) in h8300_clone() 188 newsp = rdusp(); in h8300_clone() 189 return do_fork(clone_flags, newsp, regs, 0, NULL, NULL); in h8300_clone()
|
/arch/c6x/kernel/ |
D | process.c | 164 unsigned long newsp; in SYSCALL_DEFINE1() local 169 newsp = regs->b4; in SYSCALL_DEFINE1() 171 newsp = regs->sp; in SYSCALL_DEFINE1() 173 return do_fork(clone_flags, newsp, regs, 0, (int __user *)regs->a6, in SYSCALL_DEFINE1()
|
/arch/mips/kernel/ |
D | syscall.c | 103 unsigned long newsp; in _sys_clone() local 107 newsp = regs.regs[5]; in _sys_clone() 108 if (!newsp) in _sys_clone() 109 newsp = regs.regs[29]; in _sys_clone() 126 return do_fork(clone_flags, newsp, ®s, 0, in _sys_clone()
|
D | linux32.c | 324 unsigned long newsp; in _sys32_clone() local 328 newsp = regs.regs[5]; in _sys32_clone() 329 if (!newsp) in _sys32_clone() 330 newsp = regs.regs[29]; in _sys32_clone() 336 return do_fork(clone_flags, newsp, ®s, 0, in _sys32_clone()
|
/arch/m68k/kernel/ |
D | process.c | 207 unsigned long newsp; in m68k_clone() local 212 newsp = regs->d2; in m68k_clone() 215 if (!newsp) in m68k_clone() 216 newsp = rdusp(); in m68k_clone() 217 return do_fork(clone_flags, newsp, regs, 0, in m68k_clone()
|
/arch/m32r/kernel/ |
D | process.c | 258 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 264 if (!newsp) in sys_clone() 265 newsp = regs.spu; in sys_clone() 267 return do_fork(clone_flags, newsp, ®s, 0, in sys_clone()
|
/arch/frv/kernel/ |
D | process.c | 162 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 166 if (!newsp) in sys_clone() 167 newsp = user_stack(__frame); in sys_clone() 168 return do_fork(clone_flags, newsp, __frame, 0, parent_tidptr, child_tidptr); 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/sh/kernel/ |
D | process_32.c | 263 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 269 if (!newsp) in sys_clone() 270 newsp = regs->regs[15]; in sys_clone() 271 return do_fork(clone_flags, newsp, regs, 0, in sys_clone()
|
/arch/blackfin/kernel/ |
D | process.c | 171 unsigned long newsp; in bfin_clone() local 180 newsp = regs->r1; in bfin_clone() 181 if (!newsp) in bfin_clone() 182 newsp = rdusp(); in bfin_clone() 184 newsp -= 12; in bfin_clone() 185 return do_fork(clone_flags, newsp, regs, 0, NULL, NULL); in bfin_clone()
|
/arch/s390/kernel/ |
D | process.c | 217 SYSCALL_DEFINE4(clone, unsigned long, newsp, unsigned long, clone_flags, in SYSCALL_DEFINE4() argument 222 if (!newsp) in SYSCALL_DEFINE4() 223 newsp = regs->gprs[15]; in SYSCALL_DEFINE4() 224 return do_fork(clone_flags, newsp, regs, 0, in SYSCALL_DEFINE4()
|
/arch/hexagon/include/asm/ |
D | syscall.h | 30 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
|
/arch/sh/include/asm/ |
D | syscalls_64.h | 16 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
|
/arch/avr32/kernel/ |
D | process.c | 369 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument 373 if (!newsp) in sys_clone() 374 newsp = regs->sp; in sys_clone() 375 return do_fork(clone_flags, newsp, regs, 0, parent_tidptr, in sys_clone()
|
/arch/tile/include/asm/ |
D | syscalls.h | 68 long _sys_clone(unsigned long clone_flags, unsigned long newsp,
|