/arch/c6x/include/asm/ |
D | processor.h | 77 #define task_pt_regs(task) \ macro 101 #define thread_saved_pc(tsk) (task_pt_regs(tsk)->pc) 120 #define KSTK_EIP(task) (task_pt_regs(task)->pc) 121 #define KSTK_ESP(task) (task_pt_regs(task)->sp)
|
/arch/hexagon/include/asm/ |
D | processor.h | 77 #define task_pt_regs(task) \ macro 80 #define KSTK_EIP(tsk) (pt_elr(task_pt_regs(tsk))) 81 #define KSTK_ESP(tsk) (pt_psp(task_pt_regs(tsk)))
|
/arch/openrisc/include/asm/ |
D | processor.h | 72 #define task_pt_regs(task) user_regs(task_thread_info(task)) macro 79 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) 80 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)
|
/arch/unicore32/include/asm/ |
D | processor.h | 76 #define task_pt_regs(p) \ macro 79 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->UCreg_pc) 80 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->UCreg_sp)
|
/arch/ia64/include/asm/ |
D | switch_to.h | 49 ia64_psr(task_pt_regs(next))->dfh = !ia64_is_local_fpu_owner(next); \ 61 if (ia64_psr(task_pt_regs(prev))->mfh && ia64_is_local_fpu_owner(prev)) { \ 62 ia64_psr(task_pt_regs(prev))->mfh = 0; \
|
D | ptrace.h | 88 # define task_pt_regs(t) (((struct pt_regs *) ((char *) (t) + IA64_STK_OFFSET)) - 1) macro 111 # define force_successful_syscall_return() (task_pt_regs(current)->r8 = 0)
|
/arch/arc/include/asm/ |
D | processor.h | 53 #define task_pt_regs(p) \ macro 77 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) 78 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)
|
/arch/score/include/asm/ |
D | processor.h | 100 #define task_pt_regs(tsk) ((struct pt_regs *)kstk_tos(tsk) - 1) macro 102 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc) 103 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29])
|
/arch/score/kernel/ |
D | process.c | 73 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() 104 return task_pt_regs(tsk)->cp0_epc; in thread_saved_pc() 115 return task_pt_regs(task)->cp0_epc; in get_wchan()
|
/arch/c6x/kernel/ |
D | ptrace.c | 35 long *addr = (long *)task_pt_regs(task); in get_reg() 50 unsigned long *addr = (unsigned long *)task_pt_regs(task); in put_reg() 65 struct pt_regs *regs = task_pt_regs(target); in gpr_get()
|
/arch/arm/include/asm/ |
D | processor.h | 87 #define task_pt_regs(p) \ macro 90 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc 91 #define KSTK_ESP(tsk) task_pt_regs(tsk)->ARM_sp
|
/arch/mn10300/include/asm/ |
D | processor.h | 144 #define task_pt_regs(task) ((task)->thread.uregs) macro 145 #define KSTK_EIP(task) (task_pt_regs(task)->pc) 146 #define KSTK_ESP(task) (task_pt_regs(task)->sp)
|
/arch/unicore32/kernel/ |
D | ptrace.c | 27 return task_pt_regs(task)->uregs[offset]; in get_user_reg() 39 struct pt_regs newregs, *regs = task_pt_regs(task); in put_user_reg() 103 ret = put_user(task_pt_regs(child)->UCreg_16, in arch_ptrace()
|
/arch/arm64/include/asm/ |
D | processor.h | 139 #define task_pt_regs(p) \ macro 142 #define KSTK_EIP(tsk) ((unsigned long)task_pt_regs(tsk)->pc) 143 #define KSTK_ESP(tsk) user_stack_pointer(task_pt_regs(tsk))
|
/arch/hexagon/kernel/ |
D | ptrace.c | 39 pt_set_singlestep(task_pt_regs(child)); in user_enable_single_step() 45 pt_clr_singlestep(task_pt_regs(child)); in user_disable_single_step() 57 struct pt_regs *regs = task_pt_regs(target); in genregs_get() 113 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
|
/arch/xtensa/include/asm/ |
D | processor.h | 177 #define thread_saved_pc(tsk) (task_pt_regs(tsk)->pc) 181 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) 182 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->areg[1])
|
/arch/xtensa/kernel/ |
D | ptrace.c | 54 struct pt_regs *regs = task_pt_regs(child); in ptrace_getregs() 80 struct pt_regs *regs = task_pt_regs(child); in ptrace_setregs() 129 struct pt_regs *regs = task_pt_regs(child); in ptrace_getxregs() 154 struct pt_regs *regs = task_pt_regs(child); in ptrace_setxregs() 182 regs = task_pt_regs(child); in ptrace_peekusr() 245 regs = task_pt_regs(child); in ptrace_pokeusr()
|
/arch/blackfin/kernel/ |
D | ptrace.c | 44 struct pt_regs *regs = task_pt_regs(task); in get_reg() 79 struct pt_regs *regs = task_pt_regs(task); in put_reg() 161 struct pt_regs *regs = task_pt_regs(target); in genregs_get() 184 struct pt_regs *regs = task_pt_regs(target); in genregs_set() 233 struct pt_regs *regs = task_pt_regs(child); in user_enable_single_step() 241 struct pt_regs *regs = task_pt_regs(child); in user_disable_single_step()
|
/arch/sparc/include/asm/ |
D | processor_64.h | 199 #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs) macro 200 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->tpc) 201 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->u_regs[UREG_FP])
|
/arch/mips/include/asm/ |
D | processor.h | 378 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk)) macro 379 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc) 380 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29]) 381 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status)
|
/arch/microblaze/include/asm/ |
D | processor.h | 27 #define task_pt_regs(tsk) \ macro 139 ((void *)task_pt_regs(tsk))
|
/arch/sh/include/asm/ |
D | processor_32.h | 195 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) 196 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[15])
|
/arch/metag/kernel/ |
D | ptrace.c | 152 const struct pt_regs *regs = task_pt_regs(target); in metag_gp_regs_get() 161 struct pt_regs *regs = task_pt_regs(target); in metag_gp_regs_set() 198 const struct pt_regs *regs = task_pt_regs(target); in metag_cb_regs_get() 207 struct pt_regs *regs = task_pt_regs(target); in metag_cb_regs_set() 289 const struct pt_regs *regs = task_pt_regs(target); in metag_rp_state_get() 298 struct pt_regs *regs = task_pt_regs(target); in metag_rp_state_set()
|
/arch/sh/kernel/ |
D | process_32.c | 87 clear_fpu(tsk, task_pt_regs(tsk)); in flush_thread() 139 childregs = task_pt_regs(p); in copy_thread() 182 unlazy_fpu(prev, task_pt_regs(prev)); in __switch_to()
|
/arch/arc/kernel/ |
D | process.c | 94 c_regs = task_pt_regs(p); in copy_thread() 195 struct pt_regs *regs = task_pt_regs(t); in thread_saved_pc()
|