Home
last modified time | relevance | path

Searched refs:task_pt_regs (Results 1 – 25 of 117) sorted by relevance

12345

/arch/c6x/include/asm/
Dprocessor.h77 #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/
Dprocessor.h77 #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/
Dprocessor.h72 #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/
Dprocessor.h76 #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/
Dswitch_to.h49 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; \
Dptrace.h88 # 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/
Dprocessor.h53 #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/
Dprocessor.h100 #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/
Dprocess.c73 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/
Dptrace.c35 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/
Dprocessor.h87 #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/
Dprocessor.h144 #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/
Dptrace.c27 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/
Dprocessor.h139 #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/
Dptrace.c39 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/
Dprocessor.h177 #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/
Dptrace.c54 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/
Dptrace.c44 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/
Dprocessor_64.h199 #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/
Dprocessor.h378 #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/
Dprocessor.h27 #define task_pt_regs(tsk) \ macro
139 ((void *)task_pt_regs(tsk))
/arch/sh/include/asm/
Dprocessor_32.h195 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
196 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[15])
/arch/metag/kernel/
Dptrace.c152 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/
Dprocess_32.c87 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/
Dprocess.c94 c_regs = task_pt_regs(p); in copy_thread()
195 struct pt_regs *regs = task_pt_regs(t); in thread_saved_pc()

12345