Home
last modified time | relevance | path

Searched refs:pt_regs (Results 1 – 25 of 31) sorted by relevance

12

/include/asm-generic/
Dsyscall.h23 struct pt_regs;
41 int syscall_get_nr(struct task_struct *task, struct pt_regs *regs);
59 void syscall_rollback(struct task_struct *task, struct pt_regs *regs);
71 long syscall_get_error(struct task_struct *task, struct pt_regs *regs);
84 long syscall_get_return_value(struct task_struct *task, struct pt_regs *regs);
101 void syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
121 void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
141 void syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
158 int syscall_get_arch(struct task_struct *task, struct pt_regs *regs);
Dirq_regs.h21 DECLARE_PER_CPU(struct pt_regs *, __irq_regs);
23 static inline struct pt_regs *get_irq_regs(void) in get_irq_regs()
28 static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs) in set_irq_regs()
30 struct pt_regs *old_regs; in set_irq_regs()
Dptrace.h22 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer()
26 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set()
44 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer()
48 static inline void user_stack_pointer_set(struct pt_regs *regs, in user_stack_pointer_set()
62 static inline unsigned long frame_pointer(struct pt_regs *regs) in frame_pointer()
66 static inline void frame_pointer_set(struct pt_regs *regs, in frame_pointer_set()
Dsyscalls.h14 struct pt_regs *regs);
18 asmlinkage long sys_fork(struct pt_regs *regs);
22 asmlinkage long sys_vfork(struct pt_regs *regs);
29 struct pt_regs *regs);
46 struct pt_regs *);
50 asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
/include/linux/
Dkgdb.h25 struct pt_regs;
36 extern int kgdb_skipexception(int exception, struct pt_regs *regs);
94 extern char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs);
95 extern int dbg_set_reg(int regno, void *mem, struct pt_regs *regs);
131 extern void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs);
156 extern void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs);
178 struct pt_regs *regs);
206 extern void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc);
252 void (*disable_hw_break)(struct pt_regs *regs);
284 extern unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs);
[all …]
Dtracehook.h57 static inline int ptrace_report_syscall(struct pt_regs *regs) in ptrace_report_syscall()
99 struct pt_regs *regs) in tracehook_report_syscall_entry()
121 static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step) in tracehook_report_syscall_exit()
150 struct pt_regs *regs, int stepping) in tracehook_signal_handler()
185 static inline void tracehook_notify_resume(struct pt_regs *regs) in tracehook_notify_resume()
Dprofile.h17 struct pt_regs;
85 int register_timer_hook(int (*hook)(struct pt_regs *));
86 void unregister_timer_hook(int (*hook)(struct pt_regs *));
88 struct pt_regs;
138 static inline int register_timer_hook(int (*hook)(struct pt_regs *)) in register_timer_hook() argument
143 static inline void unregister_timer_hook(int (*hook)(struct pt_regs *)) in unregister_timer_hook() argument
Dmmiotrace.h8 struct pt_regs;
11 struct pt_regs *, unsigned long addr);
13 unsigned long condition, struct pt_regs *);
44 extern int kmmio_handler(struct pt_regs *regs, unsigned long addr);
59 static inline int kmmio_handler(struct pt_regs *regs, unsigned long addr) in kmmio_handler()
Dkprobes.h62 struct pt_regs;
65 typedef int (*kprobe_pre_handler_t) (struct kprobe *, struct pt_regs *);
66 typedef int (*kprobe_break_handler_t) (struct kprobe *, struct pt_regs *);
67 typedef void (*kprobe_post_handler_t) (struct kprobe *, struct pt_regs *,
69 typedef int (*kprobe_fault_handler_t) (struct kprobe *, struct pt_regs *,
72 struct pt_regs *);
221 struct pt_regs *regs);
225 struct pt_regs *regs) in arch_prepare_kretprobe()
259 extern void show_registers(struct pt_regs *regs);
288 extern void opt_pre_handler(struct kprobe *p, struct pt_regs *regs);
[all …]
Doprofile.h48 struct pt_regs;
72 void (*backtrace)(struct pt_regs * const regs, unsigned int depth);
97 void oprofile_add_sample(struct pt_regs * const regs, unsigned long event);
106 void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs,
112 void oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs,
192 struct pt_regs * const regs,
Dbinfmts.h6 struct pt_regs;
74 struct pt_regs *regs;
87 int (*load_binary)(struct linux_binprm *, struct pt_regs * regs);
110 extern int search_binary_handler(struct linux_binprm *, struct pt_regs *);
134 extern void do_coredump(long signr, int exit_code, struct pt_regs *regs);
Dbug.h12 struct pt_regs;
85 enum bug_trap_type report_bug(unsigned long bug_addr, struct pt_regs *regs);
93 struct pt_regs *regs) in report_bug()
Dkdebug.h9 struct pt_regs *regs;
20 struct pt_regs *regs, long err, int trap, int sig);
Delfcore.h107 static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs) in elf_core_copy_regs()
113 *(struct pt_regs *)elfregs = *regs; in elf_core_copy_regs()
117 static inline void elf_core_copy_kernel_regs(elf_gregset_t *elfregs, struct pt_regs *regs) in elf_core_copy_kernel_regs()
136 extern int dump_fpu (struct pt_regs *, elf_fpregset_t *);
138 static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregs… in elf_core_copy_task_fpregs()
Dstacktrace.h5 struct pt_regs;
17 extern void save_stack_trace_regs(struct pt_regs *regs,
Dreboot.h60 struct pt_regs;
61 extern void machine_crash_shutdown(struct pt_regs *);
Dkexec.h138 extern void crash_kexec(struct pt_regs *);
140 void crash_save_cpu(struct pt_regs *regs, int cpu);
226 struct pt_regs;
228 static inline void crash_kexec(struct pt_regs *regs) { } in crash_kexec()
Dpersonality.h11 struct pt_regs;
90 typedef void (*handler_t)(int, struct pt_regs *);
Dnmi.h50 int hw_nmi_is_cpu_stuck(struct pt_regs *);
Dperf_event.h830 struct pt_regs *regs);
1148 struct pt_regs *regs);
1152 struct pt_regs *regs);
1169 extern void __perf_sw_event(u32, u64, struct pt_regs *, u64);
1172 static inline void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip) { } in perf_arch_fetch_caller_regs()
1183 static inline void perf_fetch_caller_regs(struct pt_regs *regs) in perf_fetch_caller_regs()
1191 perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr) in perf_sw_event()
1193 struct pt_regs hot_regs; in perf_sw_event()
1233 extern void perf_callchain_user(struct perf_callchain_entry *entry, struct pt_regs *regs);
1234 extern void perf_callchain_kernel(struct perf_callchain_entry *entry, struct pt_regs *regs);
[all …]
Dftrace_event.h138 struct pt_regs *regs);
294 DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
304 struct pt_regs *regs, int *rctxp);
308 u64 count, struct pt_regs *regs, void *head) in perf_trace_buf_submit()
Dkdb.h138 extern struct pt_regs *kdb_current_regs;
Dptrace.h361 struct pt_regs *regs, siginfo_t *info);
364 struct pt_regs *regs, siginfo_t *info) in user_single_step_siginfo()
/include/trace/events/
Dsyscalls.h21 TP_PROTO(struct pt_regs *regs, long id),
47 TP_PROTO(struct pt_regs *regs, long ret),
/include/xen/
Devents.h81 void xen_evtchn_do_upcall(struct pt_regs *regs);

12