Home
last modified time | relevance | path

Searched refs:rdusp (Results 1 – 25 of 39) sorted by relevance

12

/arch/h8300/include/asm/
Dprocessor.h25 static inline unsigned long rdusp(void) in rdusp() function
127 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
Dptrace.h27 #define current_user_stack_pointer() rdusp()
/arch/cris/arch-v10/kernel/
Dsignal.c107 struct sigframe __user *frame = (struct sigframe *)rdusp(); in sys_sigreturn()
143 struct rt_sigframe __user *frame = (struct rt_sigframe *)rdusp(); in sys_rt_sigreturn()
182 unsigned long usp = rdusp(); in setup_sigcontext()
208 unsigned long sp = sigsp(rdusp(), ksig); in get_sigframe()
302 err |= __save_altstack(&frame->uc.uc_stack, rdusp()); in setup_rt_frame()
Dprocess.c123 p->thread.usp = usp ?: rdusp(); in copy_thread()
169 unsigned long usp = rdusp(); in show_regs()
Dtraps.c25 unsigned long usp = rdusp(); in show_registers()
/arch/cris/include/asm/
Dptrace.h12 #define current_user_stack_pointer() rdusp()
Dprocessor.h53 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
/arch/cris/include/uapi/asm/
Delf_v10.h61 pr_reg[14] = rdusp(); /* sp */ \
78 pr_reg[31] = rdusp(); /* usp */ \
Delf_v32.h57 pr_reg[14] = rdusp(); /* SP */ \
73 pr_reg[30] = rdusp(); /* USP */ \
/arch/blackfin/include/asm/
Dprocessor.h19 static inline unsigned long rdusp(void) in rdusp() function
92 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
Dptrace.h20 #define current_user_stack_pointer() rdusp()
/arch/h8300/kernel/
Dsignal.c107 unsigned long usp = rdusp(); in sys_rt_sigreturn()
144 err |= __put_user(rdusp(), &sc->sc_usp); in setup_sigcontext()
155 return (void __user *)((sigsp(rdusp(), ksig) - frame_size) & -8UL); in get_sigframe()
176 err |= __save_altstack(&frame->uc.uc_stack, rdusp()); in setup_rt_frame()
Dprocess.c96 printk("USP: %08lx\n", rdusp()); in show_regs()
122 p->thread.usp = usp ?: rdusp(); in copy_thread()
/arch/cris/include/arch-v32/arch/
Dsystem.h17 static inline unsigned long rdusp(void) in rdusp() function
/arch/cris/include/arch-v10/arch/
Dsystem.h17 static inline unsigned long rdusp(void) { in rdusp() function
/arch/m68k/include/asm/
Dptrace.h18 #define current_user_stack_pointer() rdusp()
Dprocessor.h21 static inline unsigned long rdusp(void) in rdusp() function
167 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)
Delf.h90 pr_reg[15] = rdusp(); \
/arch/cris/arch-v32/kernel/
Dprocess.c149 p->thread.usp = usp ?: rdusp(); in copy_thread()
166 unsigned long usp = rdusp(); in show_regs()
Dsignal.c95 frame = (struct signal_frame *) rdusp(); in sys_sigreturn()
136 frame = (struct rt_signal_frame *) rdusp(); in sys_rt_sigreturn()
178 usp = rdusp(); in setup_sigcontext()
196 unsigned long sp = sigsp(rdusp(), ksig); in get_sigframe()
303 err |= __save_altstack(&frame->uc.uc_stack, rdusp()); in setup_rt_frame()
/arch/alpha/include/asm/
Dptrace.h11 #define current_user_stack_pointer() rdusp()
Da.out-core.h30 dump->start_stack = rdusp() & ~(PAGE_SIZE - 1); in aout_dump_thread()
69 dump->regs[EF_SP] = rdusp(); in aout_dump_thread()
Dprocessor.h58 ((tsk) == current ? rdusp() : task_thread_info(tsk)->pcb.usp)
/arch/blackfin/kernel/
Dsignal.c83 unsigned long usp = rdusp(); in sys_rt_sigreturn()
118 err |= __put_user(rdusp(), &sc->sc_usp); in rt_setup_sigcontext()
141 unsigned long usp = sigsp(rdusp(), ksig); in get_sigframe()
163 err |= __save_altstack(&frame->uc.uc_stack, rdusp()); in setup_rt_frame()
/arch/m68k/kernel/
Dprocess.c100 printk("USP: %08lx\n", rdusp()); in show_regs()
165 p->thread.usp = usp ?: rdusp(); in copy_thread()

12