Home
last modified time | relevance | path

Searched refs:current_pt_regs (Results 1 – 25 of 75) sorted by relevance

123

/Linux-v6.1/arch/alpha/include/asm/
Dptrace.h17 #define current_pt_regs() \ macro
19 #define signal_pt_regs current_pt_regs
21 #define force_successful_syscall_return() (current_pt_regs()->r0 = 0)
/Linux-v6.1/arch/um/kernel/
Dexec.c36 get_safe_registers(current_pt_regs()->regs.gp, in flush_thread()
37 current_pt_regs()->regs.fp); in flush_thread()
/Linux-v6.1/arch/nios2/include/asm/
Dptrace.h73 #define current_pt_regs() \ macro
77 #define force_successful_syscall_return() (current_pt_regs()->orig_r2 = -1)
/Linux-v6.1/arch/alpha/kernel/
Dptrace.c323 struct pt_regs *regs = current_pt_regs(); in syscall_trace_enter()
325 ptrace_report_syscall_entry(current_pt_regs())) in syscall_trace_enter()
328 return ret ?: current_pt_regs()->r0; in syscall_trace_enter()
334 audit_syscall_exit(current_pt_regs()); in syscall_trace_leave()
336 ptrace_report_syscall_exit(current_pt_regs(), 0); in syscall_trace_leave()
Dosf_sys.c1296 current_pt_regs()->r20 = sys_geteuid(); in SYSCALL_DEFINE0()
1302 current_pt_regs()->r20 = sys_getegid(); in SYSCALL_DEFINE0()
1308 current_pt_regs()->r20 = sys_getppid(); in SYSCALL_DEFINE0()
1318 current_pt_regs()->r20 = fd[1]; in SYSCALL_DEFINE0()
1326 current_pt_regs()->hae = val; in SYSCALL_DEFINE1()
/Linux-v6.1/arch/sparc/include/asm/
Dptrace.h37 #define current_pt_regs() \ macro
140 #define current_pt_regs() \ macro
Dcompat.h155 return pt_regs_trap_type(current_pt_regs()) == 0x110; in in_compat_syscall()
/Linux-v6.1/include/linux/
Dptrace.h388 #ifndef current_pt_regs
389 #define current_pt_regs() task_pt_regs(current) macro
402 #define current_user_stack_pointer() user_stack_pointer(current_pt_regs())
/Linux-v6.1/arch/mips/kernel/
Dsyscall.c57 current_pt_regs()->regs[3] = fd[1]; in sysm_pipe()
184 regs = current_pt_regs(); in mips_atomic_set()
Dsignal_o32.c161 regs = current_pt_regs(); in sys32_rt_sigreturn()
263 regs = current_pt_regs(); in sys32_sigreturn()
/Linux-v6.1/arch/arc/kernel/
Dprocess.c48 struct pt_regs *regs = current_pt_regs(); in SYSCALL_DEFINE3()
174 struct pt_regs *regs = current_pt_regs(); in copy_thread()
/Linux-v6.1/arch/sparc/kernel/
Dsys_sparc_32.c84 current_pt_regs()->u_regs[UREG_I1] = fd[1]; in SYSCALL_DEFINE0()
133 struct pt_regs *regs = current_pt_regs(); in SYSCALL_DEFINE0()
Dsys_sparc_64.c322 current_pt_regs()->u_regs[UREG_I1] = fd[1]; in SYSCALL_DEFINE0()
490 struct pt_regs *regs = current_pt_regs(); in SYSCALL_DEFINE0()
672 struct pt_regs *regs = current_pt_regs(); in SYSCALL_DEFINE1()
/Linux-v6.1/arch/hexagon/include/uapi/asm/
Dptrace.h36 #define current_pt_regs() \ macro
/Linux-v6.1/arch/m68k/include/asm/
Dptrace.h17 #define current_pt_regs() \ macro
/Linux-v6.1/arch/csky/kernel/
Dsyscall.c9 struct pt_regs *reg = current_pt_regs(); in SYSCALL_DEFINE1()
Dprocess.c57 *childregs = *(current_pt_regs()); in copy_thread()
/Linux-v6.1/arch/s390/include/asm/
Dentry-common.h50 pai_kernel_exit(current_pt_regs()); in arch_exit_to_user_mode()
/Linux-v6.1/arch/x86/include/asm/
Dptrace.h181 #define current_user_stack_pointer() current_pt_regs()->sp
182 #define compat_user_stack_pointer() current_pt_regs()->sp
/Linux-v6.1/arch/sh/kernel/
Dsys_sh32.c33 current_pt_regs()->regs[1] = fd[1]; in sys_sh_pipe()
Dtraps_32.c618 struct pt_regs *regs = current_pt_regs(); in do_reserved_inst()
703 struct pt_regs *regs = current_pt_regs(); in do_illegal_slot_inst()
732 die_if_kernel("exception", current_pt_regs(), ex); in do_exception_error()
/Linux-v6.1/arch/csky/include/asm/
Dptrace.h18 #define current_pt_regs() \ macro
/Linux-v6.1/arch/loongarch/include/asm/
Dptrace.h133 #define current_pt_regs() \ macro
/Linux-v6.1/arch/hexagon/kernel/
Dprocess.c86 memcpy(childregs, current_pt_regs(), sizeof(*childregs)); in copy_thread()
/Linux-v6.1/arch/mips/include/asm/
Dptrace.h170 #define current_pt_regs() \ macro

123