/arch/cris/include/arch-v32/arch/ |
D | system.h | 19 unsigned long usp; in rdusp() local 21 __asm__ __volatile__ ("move $usp, %0" : "=rm" (usp)); in rdusp() 22 return usp; in rdusp() 35 #define wrusp(usp) __asm__ __volatile__ ("move %0, $usp" : : "rm" (usp)) argument
|
D | processor.h | 18 unsigned long usp; /* User stack pointer. */ member 48 #define start_thread(regs, ip, usp) \ argument 52 wrusp(usp); \
|
/arch/m68k/include/asm/ |
D | processor.h | 27 register unsigned long usp __asm__("a0"); in rdusp() 29 __asm__ __volatile__(".word 0x4e68" : "=a" (usp)); in rdusp() 30 return usp; in rdusp() 34 static inline void wrusp(unsigned long usp) in wrusp() argument 38 sw_usp = usp; in wrusp() 40 register unsigned long a0 __asm__("a0") = usp; in wrusp() 85 unsigned long usp; /* user stack pointer */ member 108 unsigned long usp) in start_thread() argument 112 wrusp(usp); in start_thread() 179 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
|
/arch/cris/include/arch-v10/arch/ |
D | system.h | 18 unsigned long usp; in rdusp() local 19 __asm__ __volatile__("move $usp,%0" : "=rm" (usp)); in rdusp() 20 return usp; in rdusp() 23 #define wrusp(usp) \ argument 24 __asm__ __volatile__("move %0,$usp" : /* no outputs */ : "rm" (usp))
|
D | processor.h | 22 unsigned long usp; /* user stack pointer */ member 55 #define start_thread(regs, ip, usp) do { \ argument 58 wrusp(usp); \
|
/arch/mips/lib/ |
D | uncached.c | 44 long usp; in run_uncached() local 47 usp = CKSEG1ADDR(sp); in run_uncached() 51 usp = PHYS_TO_XKPHYS(K_CALG_UNCACHED, in run_uncached() 56 usp = sp; in run_uncached() 77 : "r" (usp), "r" (ufunc) in run_uncached()
|
/arch/blackfin/include/asm/ |
D | processor.h | 21 unsigned long usp; in rdusp() local 23 __asm__ __volatile__("%0 = usp;\n\t":"=da"(usp)); in rdusp() 24 return usp; in rdusp() 27 static inline void wrusp(unsigned long usp) in wrusp() argument 29 __asm__ __volatile__("usp = %0;\n\t"::"da"(usp)); in wrusp() 55 unsigned long usp; /* user stack pointer */ member 103 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
|
/arch/c6x/kernel/ |
D | process.c | 180 void start_thread(struct pt_regs *regs, unsigned int pc, unsigned long usp) in start_thread() argument 190 usp -= 8; in start_thread() 194 regs->sp = usp; in start_thread() 196 current->thread.usp = usp; in start_thread() 202 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument 213 if (usp == -1) in copy_thread() 218 childregs->sp = usp; in copy_thread() 221 p->thread.usp = childregs->sp; in copy_thread() 233 if (usp == -1) in copy_thread()
|
/arch/parisc/kernel/ |
D | process.c | 224 sys_clone(unsigned long clone_flags, unsigned long usp, in sys_clone() argument 242 usp = ALIGN(usp, 4); in sys_clone() 245 if (usp == 0) in sys_clone() 246 usp = regs->gr[30]; in sys_clone() 248 return do_fork(clone_flags, usp, regs, 0, parent_tidptr, child_tidptr); in sys_clone() 258 copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument 288 if (usp == 1) { in copy_thread() 314 cregs->gr[30] = usp; in copy_thread()
|
D | signal.c | 102 unsigned long usp = (regs->gr[30] & ~(0x01UL)); in sys_rt_sigreturn() local 115 (usp - sigframe_size); in sys_rt_sigreturn() 149 usp, &compat_frame->uc.uc_stack); in sys_rt_sigreturn() 150 if (do_sigaltstack32(&compat_frame->uc.uc_stack, NULL, usp) == -EFAULT) in sys_rt_sigreturn() 160 usp, &frame->uc.uc_stack); in sys_rt_sigreturn() 161 if (do_sigaltstack(&frame->uc.uc_stack, NULL, usp) == -EFAULT) in sys_rt_sigreturn() 243 unsigned long rp, usp; in setup_rt_frame() local 252 usp = (regs->gr[30] & ~(0x01UL)); in setup_rt_frame() 254 frame = get_sigframe(ka, usp, sizeof(*frame)); in setup_rt_frame() 508 unsigned int *usp = (unsigned int *)regs->gr[30]; in insert_restart_trampoline() local [all …]
|
/arch/h8300/include/asm/ |
D | processor.h | 31 static inline void wrusp(unsigned long usp) { in wrusp() argument 33 sw_usp = usp; in wrusp() 55 unsigned long usp; /* user stack pointer */ member 66 .usp = 0, \ 134 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
|
/arch/cris/arch-v10/kernel/ |
D | traps.c | 25 unsigned long usp = rdusp(); in show_registers() local 28 regs->irp, regs->srp, regs->dccr, usp, regs->mof); in show_registers() 54 show_stack(NULL, (unsigned long *)usp); in show_registers() 60 if (usp != 0) in show_registers()
|
D | process.c | 119 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument 150 p->thread.usp = usp; in copy_thread() 260 unsigned long usp = rdusp(); in show_regs() local 262 regs->irp, regs->srp, regs->dccr, usp, regs->mof ); in show_regs()
|
/arch/sparc/include/asm/ |
D | compat.h | 174 unsigned long usp = regs->u_regs[UREG_I6]; in arch_compat_alloc_user_space() local 177 usp += STACK_BIAS; in arch_compat_alloc_user_space() 179 usp &= 0xffffffffUL; in arch_compat_alloc_user_space() 181 usp -= len; in arch_compat_alloc_user_space() 182 usp &= ~0x7UL; in arch_compat_alloc_user_space() 184 return (void __user *) usp; in arch_compat_alloc_user_space()
|
/arch/cris/arch-v32/kernel/ |
D | traps.c | 20 unsigned long usp = rdusp(); in show_registers() local 27 regs->erp, regs->srp, regs->ccs, usp, regs->mof); in show_registers() 62 show_stack(NULL, (unsigned long *)usp); in show_registers() 68 if (usp != 0) in show_registers()
|
D | process.c | 134 copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument 171 p->thread.usp = usp; in copy_thread() 252 unsigned long usp = rdusp(); in show_regs() local 254 regs->erp, regs->srp, regs->ccs, usp, regs->mof); in show_regs()
|
/arch/c6x/include/asm/ |
D | processor.h | 62 unsigned long usp; /* user stack pointer */ member 69 .usp = 0, \ 88 unsigned long usp);
|
/arch/blackfin/kernel/ |
D | signal.c | 51 unsigned long usp = 0; in rt_restore_sigcontext() local 64 err |= __get_user(usp, &sc->sc_usp); in rt_restore_sigcontext() 65 wrusp(usp); in rt_restore_sigcontext() 91 unsigned long usp = rdusp(); in do_rt_sigreturn() local 92 struct rt_sigframe *frame = (struct rt_sigframe *)(usp); in do_rt_sigreturn() 110 if (do_sigaltstack(&frame->uc.uc_stack, NULL, regs->usp) == -EFAULT) in do_rt_sigreturn() 153 unsigned long usp; in get_sigframe() local 156 usp = rdusp(); in get_sigframe() 160 if (!on_sig_stack(usp)) in get_sigframe() 161 usp = current->sas_ss_sp + current->sas_ss_size; in get_sigframe() [all …]
|
D | ptrace.c | 60 tmp = task->thread.usp; in get_reg() 96 regs->usp = data; in put_reg() 97 task->thread.usp = data; in put_reg() 161 regs->usp = target->thread.usp; in genregs_get() 190 target->thread.usp = regs->usp; in genregs_set()
|
/arch/alpha/kernel/ |
D | process.c | 247 alpha_clone(unsigned long clone_flags, unsigned long usp, in alpha_clone() argument 251 if (!usp) in alpha_clone() 252 usp = rdusp(); in alpha_clone() 254 return do_fork(clone_flags, usp, regs, 0, parent_tid, child_tid); in alpha_clone() 276 copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument 303 childti->pcb.usp = usp; in copy_thread() 361 dest[30] = ti == current_thread_info() ? rdusp() : ti->pcb.usp; in dump_elf_thread()
|
/arch/mips/include/asm/ |
D | syscall.h | 43 unsigned long usp = regs->regs[29]; in mips_get_syscall_arg() local 53 return get_user(*arg, (int *)usp + 4 * n); in mips_get_syscall_arg() 60 return get_user(*arg, (int *)usp + 4 * n); in mips_get_syscall_arg()
|
/arch/h8300/kernel/ |
D | signal.c | 192 unsigned int usp; in restore_sigcontext() local 210 err |= __get_user(usp, &usc->sc_usp); in restore_sigcontext() 211 wrusp(usp); in restore_sigcontext() 221 unsigned long usp = rdusp(); in do_sigreturn() local 222 struct sigframe *frame = (struct sigframe *)(usp - 4); in do_sigreturn() 252 unsigned long usp = rdusp(); in do_rt_sigreturn() local 253 struct rt_sigframe *frame = (struct rt_sigframe *)(usp - 4); in do_rt_sigreturn() 271 if (do_sigaltstack(&frame->uc.uc_stack, NULL, usp) == -EFAULT) in do_rt_sigreturn() 304 unsigned long usp; in get_sigframe() local 307 usp = rdusp(); in get_sigframe() [all …]
|
/arch/h8300/platform/h8s/ |
D | ptrace_h8s.c | 34 return task->thread.usp + sizeof(long)*2 + 2; in h8300_get_reg() 49 task->thread.usp = data - sizeof(long)*2 - 2; in h8300_put_reg()
|
/arch/microblaze/kernel/ |
D | process.c | 121 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument 130 childregs->r1 = usp; in copy_thread() 238 void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp) in start_thread() argument 241 regs->r1 = usp; in start_thread()
|
/arch/cris/include/asm/ |
D | sigcontext.h | 20 unsigned long usp; /* usp before stacking this gunk on it */ member
|