Home
last modified time | relevance | path

Searched defs:regs (Results 1 – 25 of 27) sorted by relevance

12

/kernel/
Dtest_kprobes.c33 static int kp_pre_handler(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler()
39 static void kp_post_handler(struct kprobe *p, struct pt_regs *regs, in kp_post_handler()
90 static int kp_pre_handler2(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler2()
96 static void kp_post_handler2(struct kprobe *p, struct pt_regs *regs, in kp_post_handler2()
247 static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in entry_handler()
253 static int return_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in return_handler()
300 static int return_handler2(struct kretprobe_instance *ri, struct pt_regs *regs) in return_handler2()
Dstacktrace.c40 save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs()
Dkprobes.c380 void __kprobes opt_pre_handler(struct kprobe *p, struct pt_regs *regs) in opt_pre_handler()
1028 static int __kprobes aggr_pre_handler(struct kprobe *p, struct pt_regs *regs) in aggr_pre_handler()
1043 static void __kprobes aggr_post_handler(struct kprobe *p, struct pt_regs *regs, in aggr_post_handler()
1057 static int __kprobes aggr_fault_handler(struct kprobe *p, struct pt_regs *regs, in aggr_fault_handler()
1073 static int __kprobes aggr_break_handler(struct kprobe *p, struct pt_regs *regs) in aggr_break_handler()
1789 struct pt_regs *regs) in pre_handler_kretprobe()
1951 struct pt_regs *regs) in pre_handler_kretprobe()
Dwatchdog.c294 struct pt_regs *regs) in watchdog_overflow_callback()
343 struct pt_regs *regs = get_irq_regs(); in watchdog_timer_fn() local
Dseccomp.c96 struct pt_regs *regs = task_pt_regs(current); in seccomp_bpf_load() local
597 struct pt_regs *regs = task_pt_regs(current); in __secure_computing() local
Dnotifier.c531 struct pt_regs *regs, long err, int trap, int sig) in notify_die()
Dkexec.c1076 void crash_kexec(struct pt_regs *regs) in crash_kexec()
1197 void crash_save_cpu(struct pt_regs *regs, int cpu) in crash_save_cpu()
Dprofile.c415 struct pt_regs *regs = get_irq_regs(); in profile_tick() local
Dsignal.c1165 struct pt_regs *regs = signal_pt_regs(); in print_fatal_signal() local
2193 struct pt_regs *regs, void *cookie) in get_signal_to_deliver()
2391 struct pt_regs *regs, int stepping) in signal_delivered()
/kernel/debug/kdb/
Dkdb_bp.c27 static void kdb_setsinglestep(struct pt_regs *regs) in kdb_setsinglestep()
108 static void kdb_handle_bp(struct pt_regs *regs, kdb_bp_t *bp) in kdb_handle_bp()
125 static int _kdb_bp_install(struct pt_regs *regs, kdb_bp_t *bp) in _kdb_bp_install()
176 void kdb_bp_install(struct pt_regs *regs) in kdb_bp_install()
Dkdb_main.c1091 static void kdb_dumpregs(struct pt_regs *regs) in kdb_dumpregs()
1132 static int kdb_local(kdb_reason_t reason, int error, struct pt_regs *regs, in kdb_local()
1342 kdb_dbtrap_t db_result, struct pt_regs *regs) in kdb_main_loop()
/kernel/events/
Dcallchain.c28 struct pt_regs *regs) in perf_callchain_kernel()
33 struct pt_regs *regs) in perf_callchain_user()
157 perf_callchain(struct perf_event *event, struct pt_regs *regs) in perf_callchain()
Duprobes.c1313 unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs) in uprobe_get_swbp_addr()
1389 static void prepare_uretprobe(struct uprobe *uprobe, struct pt_regs *regs) in prepare_uretprobe()
1459 pre_ssout(struct uprobe *uprobe, struct pt_regs *regs, unsigned long bp_vaddr) in pre_ssout()
1525 static bool can_skip_sstep(struct uprobe *uprobe, struct pt_regs *regs) in can_skip_sstep()
1609 static void handler_chain(struct uprobe *uprobe, struct pt_regs *regs) in handler_chain()
1642 handle_uretprobe_chain(struct return_instance *ri, struct pt_regs *regs) in handle_uretprobe_chain()
1655 static bool handle_trampoline(struct pt_regs *regs) in handle_trampoline()
1703 static void handle_swbp(struct pt_regs *regs) in handle_swbp()
1765 static void handle_singlestep(struct uprobe_task *utask, struct pt_regs *regs) in handle_singlestep()
1798 void uprobe_notify_resume(struct pt_regs *regs) in uprobe_notify_resume()
[all …]
Dinternal.h171 #define perf_user_stack_pointer(regs) user_stack_pointer(regs) argument
178 #define perf_user_stack_pointer(regs) 0 argument
Dcore.c4050 struct pt_regs *regs, u64 mask) in perf_output_sample_regs()
4064 struct pt_regs *regs) in perf_sample_regs_user()
4086 static u64 perf_ustack_task_size(struct pt_regs *regs) in perf_ustack_task_size()
4098 struct pt_regs *regs) in perf_sample_ustack_size()
4137 struct pt_regs *regs) in perf_output_sample_ustack()
4467 struct pt_regs *regs) in perf_prepare_sample()
4560 struct pt_regs *regs) in perf_event_output()
5094 struct pt_regs *regs) in __perf_event_overflow()
5161 struct pt_regs *regs) in perf_event_overflow()
5213 struct pt_regs *regs) in perf_swevent_overflow()
[all …]
/kernel/trace/
Dtrace_kprobe.c801 struct pt_regs *regs) in __get_data_size()
817 struct pt_regs *regs, in store_trace_args()
849 __kprobe_trace_func(struct trace_probe *tp, struct pt_regs *regs, in __kprobe_trace_func()
886 kprobe_trace_func(struct trace_probe *tp, struct pt_regs *regs) in kprobe_trace_func()
907 struct pt_regs *regs, in __kretprobe_trace_func()
946 struct pt_regs *regs) in kretprobe_trace_func()
1152 kprobe_perf_func(struct trace_probe *tp, struct pt_regs *regs) in kprobe_perf_func()
1184 struct pt_regs *regs) in kretprobe_perf_func()
1243 int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs) in kprobe_dispatcher()
1259 int kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs) in kretprobe_dispatcher()
Dtrace_syscalls.c64 trace_get_syscall_nr(struct task_struct *task, struct pt_regs *regs) in trace_get_syscall_nr()
73 trace_get_syscall_nr(struct task_struct *task, struct pt_regs *regs) in trace_get_syscall_nr()
302 static void ftrace_syscall_enter(void *data, struct pt_regs *regs, long id) in ftrace_syscall_enter()
339 static void ftrace_syscall_exit(void *data, struct pt_regs *regs, long ret) in ftrace_syscall_exit()
537 static void perf_syscall_enter(void *ignore, struct pt_regs *regs, long id) in perf_syscall_enter()
613 static void perf_syscall_exit(void *ignore, struct pt_regs *regs, long ret) in perf_syscall_exit()
Dtrace_uprobe.c514 unsigned long func, struct pt_regs *regs) in uprobe_trace_print()
547 static int uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs) in uprobe_trace_func()
555 struct pt_regs *regs) in uretprobe_trace_func()
809 unsigned long func, struct pt_regs *regs) in uprobe_perf_print()
849 static int uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs) in uprobe_perf_func()
860 struct pt_regs *regs) in uretprobe_perf_func()
900 static int uprobe_dispatcher(struct uprobe_consumer *con, struct pt_regs *regs) in uprobe_dispatcher()
919 unsigned long func, struct pt_regs *regs) in uretprobe_dispatcher()
Dtrace_event_perf.c230 struct pt_regs *regs, int *rctxp) in perf_trace_buf_prepare()
266 struct pt_regs regs; in perf_ftrace_function_call() local
Dtrace_probe.h128 struct pt_regs *regs, void *dest) in call_fetch()
Dftrace.c174 struct ftrace_ops *op, struct pt_regs *regs) in ftrace_global_list_func()
190 struct ftrace_ops *op, struct pt_regs *regs) in ftrace_pid_func()
837 struct ftrace_ops *ops, struct pt_regs *regs) in function_profile_call()
4200 struct ftrace_ops *op, struct pt_regs *regs) in ftrace_ops_control_func()
4229 struct ftrace_ops *ignored, struct pt_regs *regs) in __ftrace_ops_list_func()
4269 struct ftrace_ops *op, struct pt_regs *regs) in ftrace_ops_list_func()
Dtrace_probe.c470 static __kprobes void fetch_stack_address(struct pt_regs *regs, in fetch_stack_address()
/kernel/debug/
Ddebug_core.c209 unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs) in kgdb_arch_pc()
219 int __weak kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception()
463 static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs, in kgdb_cpu_enter()
678 kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs) in kgdb_handle_exception()
725 int kgdb_nmicallback(int cpu, void *regs) in kgdb_nmicallback()
Dgdbstub.c341 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) in pt_regs_to_gdb_regs()
353 void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) in gdb_regs_to_pt_regs()
432 static struct task_struct *getthread(struct pt_regs *regs, int tid) in getthread()
/kernel/time/
Dtick-sched.c129 static void tick_sched_handle(struct tick_sched *ts, struct pt_regs *regs) in tick_sched_handle()
968 struct pt_regs *regs = get_irq_regs(); in tick_nohz_handler() local
1093 struct pt_regs *regs = get_irq_regs(); in tick_sched_timer() local

12