Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/arch/alpha/include/asm/
H A 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)
/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H A Dptrace.c324 struct pt_regs *regs = current_pt_regs(); in syscall_trace_enter()
326 tracehook_report_syscall_entry(current_pt_regs())) in syscall_trace_enter()
329 return ret ?: current_pt_regs()->r0; in syscall_trace_enter()
335 audit_syscall_exit(current_pt_regs()); in syscall_trace_leave()
337 tracehook_report_syscall_exit(current_pt_regs(), 0); in syscall_trace_leave()
H A Dosf_sys.c1337 current_pt_regs()->r20 = sys_geteuid(); in SYSCALL_DEFINE0()
1343 current_pt_regs()->r20 = sys_getegid(); in SYSCALL_DEFINE0()
1349 current_pt_regs()->r20 = sys_getppid(); in SYSCALL_DEFINE0()
1359 current_pt_regs()->r20 = fd[1]; in SYSCALL_DEFINE0()
1367 current_pt_regs()->hae = val; in SYSCALL_DEFINE1()
/OK3568_Linux_fs/kernel/arch/nios2/include/asm/
H A Dptrace.h73 #define current_pt_regs() \ macro
77 #define force_successful_syscall_return() (current_pt_regs()->orig_r2 = -1)
/OK3568_Linux_fs/kernel/arch/um/kernel/
H A Dexec.c37 get_safe_registers(current_pt_regs()->regs.gp, in flush_thread()
38 current_pt_regs()->regs.fp); in flush_thread()
/OK3568_Linux_fs/kernel/include/linux/
H A Dptrace.h393 #ifndef current_pt_regs
394 #define current_pt_regs() task_pt_regs(current) macro
407 #define current_user_stack_pointer() user_stack_pointer(current_pt_regs())
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Dptrace.h37 #define current_pt_regs() \ macro
140 #define current_pt_regs() \ macro
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dsyscall.c57 current_pt_regs()->regs[3] = fd[1]; in sysm_pipe()
184 regs = current_pt_regs(); in mips_atomic_set()
H A Dsignal_o32.c161 regs = current_pt_regs(); in sys32_rt_sigreturn()
263 regs = current_pt_regs(); in sys32_sigreturn()
/OK3568_Linux_fs/kernel/arch/arc/kernel/
H A Dprocess.c48 struct pt_regs *regs = current_pt_regs(); in SYSCALL_DEFINE3()
173 struct pt_regs *regs = current_pt_regs(); in copy_thread()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dprocess.c144 frame->childregs = *current_pt_regs(); in copy_thread()
224 struct pt_regs *regs = current_pt_regs(); in set_fs_fixup()
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dptrace.h178 #define current_user_stack_pointer() current_pt_regs()->sp
179 #define compat_user_stack_pointer() current_pt_regs()->sp
/OK3568_Linux_fs/kernel/arch/hexagon/include/uapi/asm/
H A Dptrace.h36 #define current_pt_regs() \ macro
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Dptrace.h17 #define current_pt_regs() \ macro
/OK3568_Linux_fs/kernel/arch/csky/kernel/
H A Dsyscall.c9 struct pt_regs *reg = current_pt_regs(); in SYSCALL_DEFINE1()
H A Dprocess.c59 *childregs = *(current_pt_regs()); in copy_thread()
/OK3568_Linux_fs/kernel/arch/h8300/include/asm/
H A Dptrace.h27 #define current_pt_regs() ((struct pt_regs *) \ macro
/OK3568_Linux_fs/kernel/arch/sh/kernel/
H A Dtraps_32.c610 struct pt_regs *regs = current_pt_regs(); in do_reserved_inst()
695 struct pt_regs *regs = current_pt_regs(); in do_illegal_slot_inst()
724 die_if_kernel("exception", current_pt_regs(), ex); in do_exception_error()
H A Dsys_sh32.c33 current_pt_regs()->regs[1] = fd[1]; in sys_sh_pipe()
/OK3568_Linux_fs/kernel/arch/csky/include/asm/
H A Dptrace.h19 #define current_pt_regs() \ macro
/OK3568_Linux_fs/kernel/kernel/
H A Dseccomp.c1149 syscall_set_return_value(current, current_pt_regs(), in seccomp_do_user_notification()
1182 syscall_set_return_value(current, current_pt_regs(), in __seccomp_filter()
1188 syscall_rollback(current, current_pt_regs()); in __seccomp_filter()
1201 current_pt_regs(), in __seccomp_filter()
1221 this_syscall = syscall_get_nr(current, current_pt_regs()); in __seccomp_filter()
1264 syscall_rollback(current, current_pt_regs()); in __seccomp_filter()
1301 syscall_get_nr(current, current_pt_regs()); in __secure_computing()
/OK3568_Linux_fs/kernel/arch/c6x/kernel/
H A Dprocess.c124 *childregs = *current_pt_regs(); in copy_thread()
/OK3568_Linux_fs/kernel/arch/hexagon/kernel/
H A Dprocess.c84 memcpy(childregs, current_pt_regs(), sizeof(*childregs)); in copy_thread()

1234