Searched refs:current_pt_regs (Results 1 - 81 of 81) sorted by relevance

/linux-4.4.14/arch/alpha/include/asm/
H A Dptrace.h16 #define current_pt_regs() \ macro
18 #define signal_pt_regs current_pt_regs
20 #define force_successful_syscall_return() (current_pt_regs()->r0 = 0)
/linux-4.4.14/arch/m68k/include/asm/
H A Dptrace.h16 #define current_pt_regs() \ macro
/linux-4.4.14/arch/um/kernel/
H A Dexec.c35 get_safe_registers(current_pt_regs()->regs.gp, flush_thread()
36 current_pt_regs()->regs.fp); flush_thread()
H A Dprocess.c167 memcpy(&p->thread.regs.regs, current_pt_regs(), copy_thread()
/linux-4.4.14/arch/mn10300/include/asm/
H A Dptrace.h20 #define current_pt_regs() current_frame() macro
/linux-4.4.14/arch/h8300/include/asm/
H A Dptrace.h24 #define current_pt_regs() ((struct pt_regs *) \ macro
/linux-4.4.14/arch/frv/include/asm/
H A Dptrace.h31 #define current_pt_regs() (__frame) macro
/linux-4.4.14/arch/m32r/include/asm/
H A Dptrace.h41 #define current_pt_regs() ((struct pt_regs *) \ macro
/linux-4.4.14/arch/sparc/include/asm/
H A Dptrace.h35 #define current_pt_regs() \ macro
104 #define current_pt_regs() \ macro
/linux-4.4.14/arch/alpha/kernel/
H A Dptrace.c320 struct pt_regs *regs = current_pt_regs(); syscall_trace_enter()
322 tracehook_report_syscall_entry(current_pt_regs())) syscall_trace_enter()
325 return ret ?: current_pt_regs()->r0; syscall_trace_enter()
331 audit_syscall_exit(current_pt_regs()); syscall_trace_leave()
333 tracehook_report_syscall_exit(current_pt_regs(), 0); syscall_trace_leave()
H A Dosf_sys.c1418 current_pt_regs()->r20 = sys_geteuid(); SYSCALL_DEFINE0()
1424 current_pt_regs()->r20 = sys_getegid(); SYSCALL_DEFINE0()
1430 current_pt_regs()->r20 = sys_getppid(); SYSCALL_DEFINE0()
1440 current_pt_regs()->r20 = fd[1]; SYSCALL_DEFINE0()
1448 current_pt_regs()->hae = val; SYSCALL_DEFINE1()
H A Dsignal.c204 struct pt_regs *regs = current_pt_regs(); do_sigreturn()
238 struct pt_regs *regs = current_pt_regs(); do_rt_sigreturn()
H A Dprocess.c251 struct pt_regs *regs = current_pt_regs(); copy_thread()
/linux-4.4.14/arch/score/kernel/
H A Dprocess.c76 struct pt_regs *regs = current_pt_regs(); copy_thread()
85 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/sh/kernel/
H A Dsys_sh32.c31 current_pt_regs()->regs[1] = fd[1]; sys_sh_pipe()
H A Dprocess_32.c162 *childregs = *current_pt_regs(); copy_thread()
H A Dtraps_32.c616 struct pt_regs *regs = current_pt_regs(); do_reserved_inst()
702 struct pt_regs *regs = current_pt_regs(); do_illegal_slot_inst()
732 die_if_kernel("exception", current_pt_regs(), ex); do_exception_error()
H A Dprocess_64.c386 current_pt_regs()->sr |= SR_FD; copy_thread()
402 *childregs = *current_pt_regs(); copy_thread()
H A Dsignal_32.c153 struct pt_regs *regs = current_pt_regs(); sys_sigreturn()
183 struct pt_regs *regs = current_pt_regs(); sys_rt_sigreturn()
/linux-4.4.14/arch/metag/include/asm/
H A Dptrace.h27 #define current_pt_regs() \ macro
/linux-4.4.14/arch/hexagon/include/uapi/asm/
H A Dptrace.h35 #define current_pt_regs() \ macro
/linux-4.4.14/arch/mips/kernel/
H A Dsyscall.c55 current_pt_regs()->regs[3] = fd[1]; sysm_pipe()
185 regs = current_pt_regs(); mips_atomic_set()
H A Dprocess.c117 struct pt_regs *childregs, *regs = current_pt_regs(); copy_thread()
/linux-4.4.14/arch/tile/include/asm/
H A Dsyscalls.h59 /* Provide versions of standard syscalls that use current_pt_regs(). */
H A Dprocessor.h233 #define current_pt_regs() \ macro
/linux-4.4.14/arch/nios2/include/asm/
H A Dptrace.h73 #define current_pt_regs() \ macro
/linux-4.4.14/arch/x86/kernel/
H A Dioport.c98 struct pt_regs *regs = current_pt_regs(); SYSCALL_DEFINE1()
H A Dprocess_32.c159 *childregs = *current_pt_regs(); copy_thread_tls()
165 task_user_gs(p) = get_user_gs(current_pt_regs()); copy_thread_tls()
H A Dsignal.c542 struct pt_regs *regs = current_pt_regs(); sys_sigreturn()
570 struct pt_regs *regs = current_pt_regs(); sys_rt_sigreturn()
763 struct pt_regs *regs = current_pt_regs(); sys32_x32_rt_sigreturn()
H A Dprocess_64.c189 *childregs = *current_pt_regs(); copy_thread_tls()
418 * current_pt_regs()->flags may not match the current task's __switch_to()
H A Dvm86_32.c233 struct pt_regs *regs = current_pt_regs(); do_sys_vm86()
/linux-4.4.14/arch/arc/include/asm/
H A Dptrace.h135 #define current_pt_regs() \ macro
/linux-4.4.14/arch/c6x/kernel/
H A Dprocess.c130 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/include/linux/
H A Dptrace.h384 #ifndef current_pt_regs
385 #define current_pt_regs() task_pt_regs(current) macro
393 * unlike current_pt_regs(), this one is equal to task_pt_regs(current)
402 #define current_user_stack_pointer() user_stack_pointer(current_pt_regs())
/linux-4.4.14/arch/h8300/kernel/
H A Dprocess.c119 *childregs = *current_pt_regs(); copy_thread()
H A Dsignal.c75 struct pt_regs *regs = current_pt_regs(); restore_sigcontext()
/linux-4.4.14/arch/x86/include/asm/
H A Dptrace.h139 #define current_user_stack_pointer() current_pt_regs()->sp
140 #define compat_user_stack_pointer() current_pt_regs()->sp
/linux-4.4.14/arch/m68k/kernel/
H A Dprocess.c127 /* regs will be equal to current_pt_regs() */ m68k_clone()
161 memcpy(frame, container_of(current_pt_regs(), struct fork_frame, regs), copy_thread()
/linux-4.4.14/arch/arc/kernel/
H A Dprocess.c97 struct pt_regs *regs = current_pt_regs(); copy_thread()
H A Dsignal.c156 struct pt_regs *regs = current_pt_regs(); SYSCALL_DEFINE0()
/linux-4.4.14/arch/cris/arch-v10/kernel/
H A Dprocess.c118 *childregs = *current_pt_regs(); /* struct copy of pt_regs */ copy_thread()
H A Dsignal.c106 struct pt_regs *regs = current_pt_regs(); sys_sigreturn()
142 struct pt_regs *regs = current_pt_regs(); sys_rt_sigreturn()
/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Dprocess.c127 *childregs = *current_pt_regs(); /* Struct copy of pt_regs. */ copy_thread()
H A Dsignal.c89 struct pt_regs *regs = current_pt_regs(); sys_sigreturn()
130 struct pt_regs *regs = current_pt_regs(); sys_rt_sigreturn()
/linux-4.4.14/arch/mips/include/asm/
H A Dptrace.h175 #define current_pt_regs() \ macro
/linux-4.4.14/arch/microblaze/kernel/
H A Dprocess.c76 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/mn10300/kernel/
H A Dprocess.c175 *c_regs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/frv/kernel/
H A Dprocess.c138 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/ia64/include/asm/
H A Dptrace.h85 #define current_user_stack_pointer() (current_pt_regs()->r12)
/linux-4.4.14/arch/m32r/kernel/
H A Dprocess.c146 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/arm/include/asm/
H A Dptrace.h157 #define current_pt_regs(void) ({ (struct pt_regs *) \ macro
/linux-4.4.14/arch/x86/ia32/
H A Dia32_signal.c117 struct pt_regs *regs = current_pt_regs(); sys32_sigreturn()
143 struct pt_regs *regs = current_pt_regs(); sys32_rt_sigreturn()
H A Dia32_aout.c263 struct pt_regs *regs = current_pt_regs(); load_aout_binary()
/linux-4.4.14/arch/tile/kernel/
H A Dcompat_signal.c130 struct pt_regs *regs = current_pt_regs(); compat_sys_rt_sigreturn()
H A Dsignal.c79 struct pt_regs *regs = current_pt_regs(); SYSCALL_DEFINE0()
H A Dprocess.c164 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/unicore32/kernel/
H A Dprocess.c246 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dptrace.h121 #define current_pt_regs() \ macro
/linux-4.4.14/arch/s390/kernel/
H A Dprocess.c166 frame->childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/metag/kernel/
H A Dsignal.c73 struct pt_regs *regs = current_pt_regs(); sys_rt_sigreturn()
H A Dprocess.c221 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/nios2/kernel/
H A Dprocess.c123 regs = current_pt_regs(); copy_thread()
/linux-4.4.14/arch/openrisc/kernel/
H A Dprocess.c172 *userregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/hexagon/kernel/
H A Dprocess.c102 memcpy(childregs, current_pt_regs(), sizeof(*childregs)); copy_thread()
H A Dsignal.c237 struct pt_regs *regs = current_pt_regs(); sys_rt_sigreturn()
/linux-4.4.14/arch/arm64/kernel/
H A Dprocess.c255 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/avr32/kernel/
H A Dprocess.c296 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/blackfin/kernel/
H A Dsignal.c82 struct pt_regs *regs = current_pt_regs(); sys_rt_sigreturn()
H A Dprocess.c131 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/sparc/kernel/
H A Dprocess_64.c623 struct pt_regs *regs = current_pt_regs(); copy_thread()
642 (current_pt_regs()->tstate + 1) & TSTATE_CWP; copy_thread()
H A Dprocess_32.c312 struct pt_regs *childregs, *regs = current_pt_regs();
/linux-4.4.14/arch/xtensa/kernel/
H A Dprocess.c207 struct pt_regs *regs = current_pt_regs(); copy_thread()
/linux-4.4.14/fs/
H A Dbinfmt_aout.c204 struct pt_regs *regs = current_pt_regs(); load_aout_binary()
H A Dbinfmt_flat.c863 struct pt_regs *regs = current_pt_regs(); load_flat_binary()
H A Dbinfmt_elf_fdpic.c188 struct pt_regs *regs = current_pt_regs(); load_elf_fdpic_binary()
H A Dbinfmt_elf.c680 struct pt_regs *regs = current_pt_regs(); load_elf_binary()
/linux-4.4.14/arch/arm/kernel/
H A Dprocess.c243 *childregs = *current_pt_regs(); copy_thread()
/linux-4.4.14/arch/ia64/kernel/
H A Dprocess.c342 struct pt_regs *regs = current_pt_regs(); copy_thread()
/linux-4.4.14/drivers/hv/
H A Dvmbus_drv.c83 regs = current_pt_regs(); hyperv_panic_event()
/linux-4.4.14/arch/tile/mm/
H A Dfault.c77 struct pt_regs *regs = current_pt_regs(); SYSCALL_DEFINE1()
/linux-4.4.14/arch/powerpc/kernel/
H A Dprocess.c1164 struct pt_regs *regs = current_pt_regs(); copy_thread()

Completed in 6064 milliseconds