/kernel/entry/ |
D | common.c | 16 static __always_inline void __enter_from_user_mode(struct pt_regs *regs) in __enter_from_user_mode() 29 void noinstr enter_from_user_mode(struct pt_regs *regs) in enter_from_user_mode() 34 static inline void syscall_enter_audit(struct pt_regs *regs, long syscall) in syscall_enter_audit() 44 static long syscall_trace_enter(struct pt_regs *regs, long syscall, in syscall_trace_enter() 85 __syscall_enter_from_user_work(struct pt_regs *regs, long syscall) in __syscall_enter_from_user_work() 95 long syscall_enter_from_user_mode_work(struct pt_regs *regs, long syscall) in syscall_enter_from_user_mode_work() 100 noinstr long syscall_enter_from_user_mode(struct pt_regs *regs, long syscall) in syscall_enter_from_user_mode() 114 noinstr void syscall_enter_from_user_mode_prepare(struct pt_regs *regs) in syscall_enter_from_user_mode_prepare() 141 void __weak arch_do_signal_or_restart(struct pt_regs *regs, bool has_signal) { } in arch_do_signal_or_restart() 143 static void handle_signal_work(struct pt_regs *regs, unsigned long ti_work) in handle_signal_work() [all …]
|
D | syscall_user_dispatch.c | 19 static void trigger_sigsys(struct pt_regs *regs) in trigger_sigsys() 34 bool syscall_user_dispatch(struct pt_regs *regs) in syscall_user_dispatch()
|
D | common.h | 5 bool syscall_user_dispatch(struct pt_regs *regs);
|
/kernel/ |
D | test_kprobes.c | 26 static int kp_pre_handler(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler() 36 static void kp_post_handler(struct kprobe *p, struct pt_regs *regs, in kp_post_handler() 87 static int kp_pre_handler2(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler2() 93 static void kp_post_handler2(struct kprobe *p, struct pt_regs *regs, in kp_post_handler2() 159 static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in entry_handler() 169 static int return_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in return_handler() 216 static int return_handler2(struct kretprobe_instance *ri, struct pt_regs *regs) in return_handler2()
|
D | stacktrace.c | 165 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, in stack_trace_save_regs() 259 save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() 319 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, in stack_trace_save_regs()
|
D | rseq.c | 237 static int rseq_ip_fixup(struct pt_regs *regs) in rseq_ip_fixup() 278 void __rseq_handle_notify_resume(struct ksignal *ksig, struct pt_regs *regs) in __rseq_handle_notify_resume() 311 void rseq_syscall(struct pt_regs *regs) in rseq_syscall()
|
D | fail_function.c | 15 static int fei_kprobe_handler(struct kprobe *kp, struct pt_regs *regs); 17 static void fei_post_handler(struct kprobe *kp, struct pt_regs *regs, in fei_post_handler() 169 static int fei_kprobe_handler(struct kprobe *kp, struct pt_regs *regs) in fei_kprobe_handler()
|
D | panic.c | 150 void __weak nmi_panic_self_stop(struct pt_regs *regs) in nmi_panic_self_stop() 189 void nmi_panic(struct pt_regs *regs, const char *msg) in nmi_panic() 652 struct pt_regs *regs, struct warn_args *args) in __warn()
|
D | kexec_core.c | 945 void __noclone __crash_kexec(struct pt_regs *regs) in __crash_kexec() 957 struct pt_regs fixed_regs; in __crash_kexec() 969 void crash_kexec(struct pt_regs *regs) in crash_kexec() 1064 void crash_save_cpu(struct pt_regs *regs, int cpu) in crash_save_cpu()
|
D | kprobes.c | 384 static int aggr_pre_handler(struct kprobe *p, struct pt_regs *regs); 416 void opt_pre_handler(struct kprobe *p, struct pt_regs *regs) in opt_pre_handler() 1161 static int aggr_pre_handler(struct kprobe *p, struct pt_regs *regs) in aggr_pre_handler() 1177 static void aggr_post_handler(struct kprobe *p, struct pt_regs *regs, in aggr_post_handler() 1876 unsigned long __kretprobe_trampoline_handler(struct pt_regs *regs, in __kretprobe_trampoline_handler() 1938 static int pre_handler_kretprobe(struct kprobe *p, struct pt_regs *regs) in NOKPROBE_SYMBOL() 2138 static int pre_handler_kretprobe(struct kprobe *p, struct pt_regs *regs) in pre_handler_kretprobe()
|
/kernel/trace/ |
D | trace_syscalls.c | 67 trace_get_syscall_nr(struct task_struct *task, struct pt_regs *regs) in trace_get_syscall_nr() 76 trace_get_syscall_nr(struct task_struct *task, struct pt_regs *regs) in trace_get_syscall_nr() 293 static void ftrace_syscall_enter(void *data, struct pt_regs *regs, long id) in ftrace_syscall_enter() 334 static void ftrace_syscall_exit(void *data, struct pt_regs *regs, long ret) in ftrace_syscall_exit() 555 static int perf_call_bpf_enter(struct trace_event_call *call, struct pt_regs *regs, in perf_call_bpf_enter() 566 *(struct pt_regs **)¶m = regs; in perf_call_bpf_enter() 573 static void perf_syscall_enter(void *ignore, struct pt_regs *regs, long id) in perf_syscall_enter() 658 static int perf_call_bpf_exit(struct trace_event_call *call, struct pt_regs *regs, in perf_call_bpf_exit() 667 *(struct pt_regs **)¶m = regs; in perf_call_bpf_exit() 673 static void perf_syscall_exit(void *ignore, struct pt_regs *regs, long ret) in perf_syscall_exit()
|
D | bpf_trace.c | 136 BPF_CALL_2(bpf_override_return, struct pt_regs *, regs, unsigned long, rc) in BPF_CALL_2() argument 569 __bpf_perf_event_output(struct pt_regs *regs, struct bpf_map *map, in __bpf_perf_event_output() 608 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() argument 657 struct pt_regs regs[3]; 680 struct pt_regs *regs; in bpf_event_output() 734 BTF_ID(struct, pt_regs) 997 BPF_CALL_1(bpf_get_func_ip_kprobe, struct pt_regs *, regs) in BPF_CALL_1() argument 1184 if (off < 0 || off >= sizeof(struct pt_regs)) in kprobe_prog_is_valid_access() 1194 if (off + size > sizeof(struct pt_regs)) in kprobe_prog_is_valid_access() 1211 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_5() [all …]
|
D | trace_uprobe.c | 94 static int uprobe_dispatcher(struct uprobe_consumer *con, struct pt_regs *regs); 96 unsigned long func, struct pt_regs *regs); 110 static unsigned long get_user_stack_nth(struct pt_regs *regs, unsigned int n) in get_user_stack_nth() 220 struct pt_regs *regs = rec; in process_fetch_insn() 948 unsigned long func, struct pt_regs *regs, in __uprobe_trace_func() 990 static int uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs, in uprobe_trace_func() 1007 struct pt_regs *regs, in uretprobe_trace_func() 1346 unsigned long func, struct pt_regs *regs, in __uprobe_perf_func() 1406 static int uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs, in uprobe_perf_func() 1418 struct pt_regs *regs, in uretprobe_perf_func() [all …]
|
D | trace_kprobe.c | 237 static int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs); 239 struct pt_regs *regs); 1337 struct pt_regs *regs = rec; in process_fetch_insn() 1383 __kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs, in NOKPROBE_SYMBOL() 1418 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_trace_func() 1430 struct pt_regs *regs, in __kretprobe_trace_func() 1466 struct pt_regs *regs) in kretprobe_trace_func() 1578 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_perf_func() 1628 struct pt_regs *regs) in kretprobe_perf_func() 1722 static int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs) in kprobe_dispatcher() [all …]
|
D | trace_event_perf.c | 396 void *perf_trace_buf_alloc(int size, struct pt_regs **regs, int *rctxp) in perf_trace_buf_alloc() 438 struct pt_regs regs; in perf_ftrace_function_call()
|
/kernel/debug/kdb/ |
D | kdb_private.h | 172 extern void kdb_bp_install(struct pt_regs *); 183 int, kdb_dbtrap_t, struct pt_regs *); 221 extern struct pt_regs *kdb_current_regs;
|
D | kdb_bp.c | 27 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() 174 void kdb_bp_install(struct pt_regs *regs) in kdb_bp_install()
|
/kernel/events/ |
D | callchain.c | 39 struct pt_regs *regs) in perf_callchain_kernel() 44 struct pt_regs *regs) in perf_callchain_user() 180 get_perf_callchain(struct pt_regs *regs, u32 init_nr, bool kernel, bool user, in get_perf_callchain()
|
D | uprobes.c | 1689 unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs) in uprobe_get_swbp_addr() 1694 unsigned long uprobe_get_trap_addr(struct pt_regs *regs) in uprobe_get_trap_addr() 1848 struct pt_regs *regs) in cleanup_return_instances() 1860 static void prepare_uretprobe(struct uprobe *uprobe, struct pt_regs *regs) in prepare_uretprobe() 1928 pre_ssout(struct uprobe *uprobe, struct pt_regs *regs, unsigned long bp_vaddr) in pre_ssout() 2072 static void handler_chain(struct uprobe *uprobe, struct pt_regs *regs) in handler_chain() 2105 handle_uretprobe_chain(struct return_instance *ri, struct pt_regs *regs) in handle_uretprobe_chain() 2130 static void handle_trampoline(struct pt_regs *regs) in handle_trampoline() 2172 bool __weak arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs) in arch_uprobe_ignore() 2178 struct pt_regs *regs) in arch_uretprobe_is_alive() [all …]
|
/kernel/bpf/ |
D | stackmap.c | 327 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3() argument 432 static long __bpf_get_stack(struct pt_regs *regs, struct task_struct *task, in __bpf_get_stack() 508 BPF_CALL_4(bpf_get_stack, struct pt_regs *, regs, void *, buf, u32, size, in BPF_CALL_4() argument 527 struct pt_regs *regs; in BPF_CALL_4() 555 struct pt_regs *regs = (struct pt_regs *)(ctx->regs); in BPF_CALL_4()
|
/kernel/irq/ |
D | handle.c | 22 void (*handle_arch_irq)(struct pt_regs *) __ro_after_init; 221 int __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) in set_handle_irq() argument
|
D | irqdesc.c | 693 unsigned int hwirq, struct pt_regs *regs) in handle_domain_irq() 695 struct pt_regs *old_regs = set_irq_regs(regs); in handle_domain_irq() 732 struct pt_regs *regs) in handle_domain_nmi() 734 struct pt_regs *old_regs = set_irq_regs(regs); in handle_domain_nmi()
|
/kernel/debug/ |
D | debug_core.c | 202 unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs) in kgdb_arch_pc() 213 int __weak kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception() 583 static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs, in kgdb_cpu_enter() 848 kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs) in kgdb_handle_exception()
|
D | debug_core.h | 28 struct pt_regs *linux_regs;
|
D | gdbstub.c | 339 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) in pt_regs_to_gdb_regs() 351 void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) in gdb_regs_to_pt_regs() 430 static struct task_struct *getthread(struct pt_regs *regs, int tid) in getthread()
|