/kernel/entry/ |
D | common.c | 19 static __always_inline void __enter_from_user_mode(struct pt_regs *regs) in __enter_from_user_mode() 33 void noinstr enter_from_user_mode(struct pt_regs *regs) in enter_from_user_mode() 38 static inline void syscall_enter_audit(struct pt_regs *regs, long syscall) in syscall_enter_audit() 48 static long syscall_trace_enter(struct pt_regs *regs, long syscall, in syscall_trace_enter() 89 __syscall_enter_from_user_work(struct pt_regs *regs, long syscall) in __syscall_enter_from_user_work() 99 long syscall_enter_from_user_mode_work(struct pt_regs *regs, long syscall) in syscall_enter_from_user_mode_work() 104 noinstr long syscall_enter_from_user_mode(struct pt_regs *regs, long syscall) in syscall_enter_from_user_mode() 118 noinstr void syscall_enter_from_user_mode_prepare(struct pt_regs *regs) in syscall_enter_from_user_mode_prepare() 145 void __weak arch_do_signal_or_restart(struct pt_regs *regs) { } in arch_do_signal_or_restart() 147 static unsigned long exit_to_user_mode_loop(struct pt_regs *regs, in exit_to_user_mode_loop() [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()
|
/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() 291 static void ftrace_syscall_enter(void *data, struct pt_regs *regs, long id) in ftrace_syscall_enter() 332 static void ftrace_syscall_exit(void *data, struct pt_regs *regs, long ret) in ftrace_syscall_exit() 553 static int perf_call_bpf_enter(struct trace_event_call *call, struct pt_regs *regs, in perf_call_bpf_enter() 558 unsigned long long regs; in perf_call_bpf_enter() member 571 static void perf_syscall_enter(void *ignore, struct pt_regs *regs, long id) in perf_syscall_enter() 656 static int perf_call_bpf_exit(struct trace_event_call *call, struct pt_regs *regs, in perf_call_bpf_exit() 660 unsigned long long regs; in perf_call_bpf_exit() member 671 static void perf_syscall_exit(void *ignore, struct pt_regs *regs, long ret) in perf_syscall_exit()
|
D | rethook.c | 207 void rethook_hook(struct rethook_node *node, struct pt_regs *regs, bool mcount) in rethook_hook() 277 void __weak arch_rethook_fixup_return(struct pt_regs *regs, in arch_rethook_fixup_return() 289 unsigned long rethook_trampoline_handler(struct pt_regs *regs, in rethook_trampoline_handler()
|
D | trace_uprobe.c | 112 static unsigned long get_user_stack_nth(struct pt_regs *regs, unsigned int n) in get_user_stack_nth() 222 struct pt_regs *regs = rec; in process_fetch_insn() local 951 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() 1341 unsigned long func, struct pt_regs *regs, in __uprobe_perf_func() 1401 static int uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs, in uprobe_perf_func() 1413 struct pt_regs *regs, in uretprobe_perf_func() 1477 static int uprobe_dispatcher(struct uprobe_consumer *con, struct pt_regs *regs) in uprobe_dispatcher() 1515 unsigned long func, struct pt_regs *regs) in uretprobe_dispatcher()
|
D | bpf_trace.c | 146 BPF_CALL_2(bpf_override_return, struct pt_regs *, regs, unsigned long, rc) in BPF_CALL_2() argument 621 __bpf_perf_event_output(struct pt_regs *regs, struct bpf_map *map, in __bpf_perf_event_output() 660 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() argument 713 struct pt_regs regs[3]; member 736 struct pt_regs *regs; in bpf_event_output() local 1068 BPF_CALL_1(bpf_get_func_ip_kprobe, struct pt_regs *, regs) in BPF_CALL_1() argument 1085 BPF_CALL_1(bpf_get_func_ip_kprobe_multi, struct pt_regs *, regs) in BPF_CALL_1() argument 1097 BPF_CALL_1(bpf_get_attach_cookie_kprobe_multi, struct pt_regs *, regs) in BPF_CALL_1() argument 1591 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_5() local 1615 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_3() local [all …]
|
D | trace_kprobe.c | 1341 struct pt_regs *regs = rec; in process_fetch_insn() local 1416 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_trace_func() 1428 struct pt_regs *regs, in __kretprobe_trace_func() 1459 struct pt_regs *regs) in kretprobe_trace_func() 1571 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_perf_func() 1621 struct pt_regs *regs) in kretprobe_perf_func() 1715 static int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs) in kprobe_dispatcher() 1733 kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs) in kretprobe_dispatcher()
|
D | ftrace_internal.h | 36 ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs) in ftrace_ops_test()
|
D | trace_event_perf.c | 396 void *perf_trace_buf_alloc(int size, struct pt_regs **regs, int *rctxp) in perf_trace_buf_alloc() 439 struct pt_regs regs; in perf_ftrace_function_call() local
|
/kernel/debug/kdb/ |
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/debug/ |
D | debug_core.c | 201 unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs) in kgdb_arch_pc() 212 int __weak kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception() 571 static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs, in kgdb_cpu_enter() 836 kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs) in kgdb_handle_exception() 886 int kgdb_nmicallback(int cpu, void *regs) in kgdb_nmicallback() 908 int kgdb_nmicallin(int cpu, int trapnr, void *regs, int err_code, in kgdb_nmicallin()
|
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()
|
/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 | 1688 unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs) in uprobe_get_swbp_addr() 1693 unsigned long uprobe_get_trap_addr(struct pt_regs *regs) in uprobe_get_trap_addr() 1847 struct pt_regs *regs) in cleanup_return_instances() 1859 static void prepare_uretprobe(struct uprobe *uprobe, struct pt_regs *regs) in prepare_uretprobe() 1927 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/ |
D | rseq.c | 245 static int rseq_ip_fixup(struct pt_regs *regs) in rseq_ip_fixup() 286 void __rseq_handle_notify_resume(struct ksignal *ksig, struct pt_regs *regs) in __rseq_handle_notify_resume() 319 void rseq_syscall(struct pt_regs *regs) in rseq_syscall()
|
D | stacktrace.c | 165 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, in stack_trace_save_regs() 256 save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() 316 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, in stack_trace_save_regs()
|
D | panic.c | 153 void __weak nmi_panic_self_stop(struct pt_regs *regs) in nmi_panic_self_stop() 192 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 | fail_function.c | 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 | ptrace.c | 937 ptrace_get_syscall_info_entry(struct task_struct *child, struct pt_regs *regs, in ptrace_get_syscall_info_entry() 954 ptrace_get_syscall_info_seccomp(struct task_struct *child, struct pt_regs *regs, in ptrace_get_syscall_info_seccomp() 973 ptrace_get_syscall_info_exit(struct task_struct *child, struct pt_regs *regs, in ptrace_get_syscall_info_exit() 990 struct pt_regs *regs = task_pt_regs(child); in ptrace_get_syscall_info() local
|
D | kexec_core.c | 960 void __noclone __crash_kexec(struct pt_regs *regs) in __crash_kexec() 984 void crash_kexec(struct pt_regs *regs) in crash_kexec() 1070 void crash_save_cpu(struct pt_regs *regs, int cpu) in crash_save_cpu()
|
D | kprobes.c | 422 void opt_pre_handler(struct kprobe *p, struct pt_regs *regs) in opt_pre_handler() 1192 static int aggr_pre_handler(struct kprobe *p, struct pt_regs *regs) in aggr_pre_handler() 1208 static void aggr_post_handler(struct kprobe *p, struct pt_regs *regs, in aggr_post_handler() 2010 void __weak arch_kretprobe_fixup_return(struct pt_regs *regs, in arch_kretprobe_fixup_return() 2019 unsigned long __kretprobe_trampoline_handler(struct pt_regs *regs, in __kretprobe_trampoline_handler() 2118 static int pre_handler_kretprobe(struct kprobe *p, struct pt_regs *regs) in pre_handler_kretprobe() 2142 struct pt_regs *regs) in kretprobe_rethook_handler() 2357 static int pre_handler_kretprobe(struct kprobe *p, struct pt_regs *regs) in pre_handler_kretprobe()
|
D | cfi.c | 10 enum bug_trap_type report_cfi_failure(struct pt_regs *regs, unsigned long addr, in report_cfi_failure()
|
/kernel/bpf/ |
D | stackmap.c | 283 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3() argument 388 static long __bpf_get_stack(struct pt_regs *regs, struct task_struct *task, in __bpf_get_stack() 464 BPF_CALL_4(bpf_get_stack, struct pt_regs *, regs, void *, buf, u32, size, in BPF_CALL_4() argument 483 struct pt_regs *regs; in BPF_CALL_4() local 511 struct pt_regs *regs = (struct pt_regs *)(ctx->regs); in BPF_CALL_4() local
|
D | verifier.c | 1394 struct bpf_reg_state *regs, u32 regno) in mark_reg_known_zero() 1711 struct bpf_reg_state *regs, u32 regno) in mark_reg_unknown() 1731 struct bpf_reg_state *regs, u32 regno) in mark_reg_not_init() 1744 struct bpf_reg_state *regs, u32 regno, in mark_btf_ld_reg() 1763 struct bpf_reg_state *regs = state->regs; in init_reg_state() local 2474 struct bpf_reg_state *reg, *regs = state->regs; in check_reg_arg() local 3776 struct bpf_reg_state *regs = cur_regs(env); in check_map_access_type() local 4171 struct bpf_reg_state *regs = cur_regs(env); in check_packet_access() local 4263 struct bpf_reg_state *regs = cur_regs(env); in check_sock_access() local 4761 struct bpf_reg_state *regs, in check_ptr_to_btf_access() [all …]
|
/kernel/irq/ |
D | handle.c | 232 asmlinkage void noinstr generic_handle_arch_irq(struct pt_regs *regs) in generic_handle_arch_irq()
|