Home
last modified time | relevance | path

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

12345

/linux/arch/nds32/include/asm/
A 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)))
A 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))
/linux/arch/nds32/kernel/
A 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()
A 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()
/linux/arch/hexagon/include/asm/
A 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)))
/linux/arch/openrisc/include/asm/
A 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)
/linux/arch/csky/include/asm/
A 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
/linux/arch/riscv/include/asm/
A 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)
/linux/arch/arc/include/asm/
A 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)
/linux/arch/ia64/include/asm/
A 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; \
/linux/arch/nios2/kernel/
A 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()
/linux/arch/hexagon/kernel/
A 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()
/linux/arch/arm/include/asm/
A 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
/linux/arch/mips/include/asm/
A Dprocessor.h363 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk)) macro
364 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc)
365 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29])
366 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status)
/linux/arch/x86/include/asm/
A Delfcore-compat.h23 (user_64bit_mode(task_pt_regs(current)) \
27 (*(user_64bit_mode(task_pt_regs(current)) \
/linux/arch/x86/kernel/
A Dptrace.c174 retval = get_user_gs(task_pt_regs(task)); in get_segment_reg()
210 *pt_regs_access(task_pt_regs(task), offset) = value; in set_segment_reg()
268 return *pt_regs_access(task_pt_regs(task), offset); in get_segment_reg()
309 task_pt_regs(task)->cs = value; in set_segment_reg()
314 task_pt_regs(task)->ss = value; in set_segment_reg()
325 unsigned long retval = task_pt_regs(task)->flags; in get_flags()
338 struct pt_regs *regs = task_pt_regs(task); in set_flags()
410 return *pt_regs_access(task_pt_regs(task), offset); in getreg()
856 struct pt_regs *regs = task_pt_regs(child); in putreg32()
954 struct pt_regs *regs = task_pt_regs(child); in getreg32()
[all …]
A 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()
/linux/arch/sparc/include/asm/
A 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])
A Dmman.h25 regs = task_pt_regs(current); in ipi_set_tstate_mcde()
37 regs = task_pt_regs(current); in sparc_calc_vm_prot_bits()
/linux/arch/csky/kernel/
A Dptrace.c42 regs = task_pt_regs(tsk); in singlestep_disable()
53 regs = task_pt_regs(tsk); in singlestep_enable()
82 struct pt_regs *regs = task_pt_regs(target); in gpr_get()
103 regs.sr = (regs.sr & BIT(0)) | (task_pt_regs(target)->sr & ~BIT(0)); in gpr_set()
105 regs.dcsr = task_pt_regs(target)->dcsr; in gpr_set()
109 *task_pt_regs(target) = regs; in gpr_set()
A 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()
/linux/arch/sh/kernel/
A 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()
A Dptrace_32.c43 stack = (unsigned char *)task_pt_regs(task); in get_stack_long()
56 stack = (unsigned char *)task_pt_regs(task); in put_stack_long()
139 const struct pt_regs *regs = task_pt_regs(target); in genregs_get()
149 struct pt_regs *regs = task_pt_regs(target); in genregs_set()
242 struct pt_regs *regs = task_pt_regs(target); in dspregs_active()
/linux/arch/riscv/kernel/
A 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()
/linux/arch/microblaze/include/asm/
A Dprocessor.h23 #define task_pt_regs(tsk) \ macro
81 ((void *)task_pt_regs(tsk))

Completed in 22 milliseconds

12345