Home
last modified time | relevance | path

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

12345

/arch/nds32/include/asm/
Dfpu.h81 if (test_tsk_fpu(task_pt_regs(current))) {
85 disable_ptreg_fpu(task_pt_regs(current));
100 if (!test_tsk_fpu(task_pt_regs(current))) {
104 enable_ptreg_fpu(task_pt_regs(current));
112 if (test_tsk_fpu(task_pt_regs(tsk)))
Dprocessor.h90 #define task_pt_regs(task) \ macro
99 #define KSTK_EIP(tsk) instruction_pointer(task_pt_regs(tsk))
100 #define KSTK_ESP(tsk) user_stack_pointer(task_pt_regs(tsk))
/arch/nds32/kernel/
Dptrace.c18 return membuf_write(&to, &task_pt_regs(target)->user_regs, in gpr_get()
27 struct user_pt_regs newregs = task_pt_regs(target)->user_regs; in gpr_set()
33 task_pt_regs(target)->user_regs = newregs; in gpr_set()
85 regs = task_pt_regs(child); in user_enable_single_step()
93 regs = task_pt_regs(child); in user_disable_single_step()
Dprocess.c140 clear_fpu(task_pt_regs(current)); in flush_thread()
155 struct pt_regs *childregs = task_pt_regs(p); in copy_thread()
190 clear_fpu(task_pt_regs(p)); in copy_thread()
211 clear_fpu(task_pt_regs(next)); in _switch_fpu()
/arch/hexagon/include/asm/
Dprocessor.h57 #define task_pt_regs(task) \ macro
60 #define KSTK_EIP(tsk) (pt_elr(task_pt_regs(tsk)))
61 #define KSTK_ESP(tsk) (pt_psp(task_pt_regs(tsk)))
/arch/openrisc/include/asm/
Dprocessor.h63 #define task_pt_regs(task) user_regs(task_thread_info(task)) macro
70 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
71 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)
/arch/riscv/include/asm/
Dprocessor.h52 #define task_pt_regs(tsk) \ macro
56 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->epc)
57 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)
Dswitch_to.h53 regs = task_pt_regs(prev); in __switch_to_aux()
56 fstate_restore(next, task_pt_regs(next)); in __switch_to_aux()
/arch/csky/include/asm/
Dprocessor.h86 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
87 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->usp)
89 #define task_pt_regs(p) \ macro
/arch/arc/include/asm/
Dprocessor.h43 #define task_pt_regs(p) \ macro
55 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret)
56 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)
/arch/ia64/include/asm/
Dswitch_to.h42 ia64_psr(task_pt_regs(next))->dfh = !ia64_is_local_fpu_owner(next); \
54 if (ia64_psr(task_pt_regs(prev))->mfh && ia64_is_local_fpu_owner(prev)) { \
55 ia64_psr(task_pt_regs(prev))->mfh = 0; \
Dptrace.h83 # define task_pt_regs(t) (((struct pt_regs *) ((char *) (t) + IA64_STK_OFFSET)) - 1) macro
106 # define force_successful_syscall_return() (task_pt_regs(current)->r8 = 0)
/arch/x86/include/asm/
Delfcore-compat.h23 (user_64bit_mode(task_pt_regs(current)) \
27 (*(user_64bit_mode(task_pt_regs(current)) \
/arch/nios2/kernel/
Dptrace.c26 const struct pt_regs *regs = task_pt_regs(target); in genregs_get()
52 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
137 ret = tracehook_report_syscall_entry(task_pt_regs(current)); in do_syscall_trace_enter()
145 tracehook_report_syscall_exit(task_pt_regs(current), 0); in do_syscall_trace_exit()
/arch/arm/include/asm/
Dprocessor.h89 #define task_pt_regs(p) \ macro
92 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc
93 #define KSTK_ESP(tsk) task_pt_regs(tsk)->ARM_sp
/arch/hexagon/kernel/
Dptrace.c25 pt_set_singlestep(task_pt_regs(child)); in user_enable_single_step()
31 pt_clr_singlestep(task_pt_regs(child)); in user_disable_single_step()
40 struct pt_regs *regs = task_pt_regs(target); in genregs_get()
79 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
/arch/microblaze/include/asm/
Dprocessor.h23 #define task_pt_regs(tsk) \ macro
81 ((void *)task_pt_regs(tsk))
/arch/sparc/include/asm/
Dprocessor_64.h188 #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs) macro
189 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->tpc)
190 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->u_regs[UREG_FP])
Dmman.h25 regs = task_pt_regs(current); in ipi_set_tstate_mcde()
37 regs = task_pt_regs(current); in sparc_calc_vm_prot_bits()
/arch/mips/include/asm/
Dprocessor.h376 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk)) macro
377 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc)
378 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29])
379 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status)
/arch/csky/kernel/
Dprocess.c40 struct pt_regs *childregs = task_pt_regs(p); in copy_thread()
83 struct pt_regs *regs = task_pt_regs(tsk); in dump_task_regs()
/arch/sh/kernel/
Dprocess_32.c82 clear_fpu(tsk, task_pt_regs(tsk)); in flush_thread()
115 childregs = task_pt_regs(p); in copy_thread()
158 unlazy_fpu(prev, task_pt_regs(prev)); in __switch_to()
/arch/sh/include/asm/
Dprocessor_32.h186 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
187 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[15])
/arch/riscv/kernel/
Dprocess.c110 fstate_off(current, task_pt_regs(current)); in flush_thread()
117 fstate_save(src, task_pt_regs(src)); in arch_dup_task_struct()
125 struct pt_regs *childregs = task_pt_regs(p); in copy_thread()
/arch/x86/kernel/
Dperf_regs.c106 regs_user->regs = task_pt_regs(current); in perf_get_regs_user()
125 if (!user_64bit_mode(task_pt_regs(task))) in perf_reg_abi()
137 struct pt_regs *user_regs = task_pt_regs(current); in perf_get_regs_user()

12345