/kernel/linux/linux-5.10/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))
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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)))
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | processor.h | 43 #define task_pt_regs(tsk) \ macro 47 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->epc) 48 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
D | processor.h | 87 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) 88 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->usp) 90 #define task_pt_regs(p) \ macro
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/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; \
|
/kernel/linux/linux-5.10/arch/c6x/include/asm/ |
D | processor.h | 63 #define task_pt_regs(task) \ macro 98 #define KSTK_EIP(task) (task_pt_regs(task)->pc) 99 #define KSTK_ESP(task) (task_pt_regs(task)->sp)
|
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
D | ptrace.c | 33 long *addr = (long *)task_pt_regs(task); in get_reg() 48 unsigned long *addr = (unsigned long *)task_pt_regs(task); in put_reg() 62 return membuf_write(&to, task_pt_regs(target), sizeof(struct pt_regs)); in gpr_get()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | compat.h | 173 (!!(task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT)) 181 sp = task_pt_regs(current)->sp; in arch_compat_alloc_user_space() 184 sp = task_pt_regs(current)->sp - 128; in arch_compat_alloc_user_space() 193 if (task_pt_regs(current)->orig_ax & __X32_SYSCALL_BIT) in in_x32_syscall()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | processor.h | 385 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk)) macro 386 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc) 387 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29]) 388 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status)
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
D | ptrace.c | 41 regs = task_pt_regs(tsk); in singlestep_disable() 52 regs = task_pt_regs(tsk); in singlestep_enable() 81 struct pt_regs *regs = task_pt_regs(target); in gpr_get() 102 regs.sr = (regs.sr & BIT(0)) | (task_pt_regs(target)->sr & ~BIT(0)); in gpr_set() 104 regs.dcsr = task_pt_regs(target)->dcsr; in gpr_set() 108 *task_pt_regs(target) = regs; in gpr_set()
|
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()
|
/kernel/linux/linux-5.10/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])
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | ptrace.c | 36 return membuf_write(&to, task_pt_regs(target), in riscv_gpr_get() 48 regs = task_pt_regs(target); in riscv_gpr_set() 61 fstate_save(current, task_pt_regs(current)); in riscv_fpr_get()
|
D | process.c | 97 fstate_off(current, task_pt_regs(current)); in flush_thread() 104 fstate_save(src, task_pt_regs(src)); in arch_dup_task_struct() 112 struct pt_regs *childregs = task_pt_regs(p); in copy_thread()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | processor.h | 23 #define task_pt_regs(tsk) \ macro 117 ((void *)task_pt_regs(tsk))
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | ptrace.c | 171 retval = *pt_regs_access(task_pt_regs(task), offset); in get_segment_reg() 174 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() 384 *pt_regs_access(task_pt_regs(child), offset) = value; in putreg() 410 return *pt_regs_access(task_pt_regs(task), offset); in getreg() [all …]
|