/arch/nds32/include/asm/ |
D | fpu.h | 81 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)))
|
D | processor.h | 90 #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/ |
D | ptrace.c | 18 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()
|
D | process.c | 140 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/ |
D | processor.h | 57 #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/ |
D | processor.h | 63 #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/ |
D | processor.h | 52 #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)
|
D | switch_to.h | 53 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/ |
D | processor.h | 86 #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/ |
D | processor.h | 43 #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/ |
D | switch_to.h | 42 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; \
|
D | ptrace.h | 83 # 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/ |
D | elfcore-compat.h | 23 (user_64bit_mode(task_pt_regs(current)) \ 27 (*(user_64bit_mode(task_pt_regs(current)) \
|
/arch/nios2/kernel/ |
D | ptrace.c | 26 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/ |
D | processor.h | 89 #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/ |
D | ptrace.c | 25 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/ |
D | processor.h | 23 #define task_pt_regs(tsk) \ macro 81 ((void *)task_pt_regs(tsk))
|
/arch/sparc/include/asm/ |
D | processor_64.h | 188 #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])
|
D | mman.h | 25 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/ |
D | processor.h | 376 #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/ |
D | process.c | 40 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/ |
D | process_32.c | 82 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/ |
D | processor_32.h | 186 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) 187 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[15])
|
/arch/riscv/kernel/ |
D | process.c | 110 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/ |
D | perf_regs.c | 106 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()
|