/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()
|
/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 | 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 | 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 | 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 | 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 | 955 ptrace_get_syscall_info_entry(struct task_struct *child, struct pt_regs *regs, in ptrace_get_syscall_info_entry() 972 ptrace_get_syscall_info_seccomp(struct task_struct *child, struct pt_regs *regs, in ptrace_get_syscall_info_seccomp() 991 ptrace_get_syscall_info_exit(struct task_struct *child, struct pt_regs *regs, in ptrace_get_syscall_info_exit() 1008 struct pt_regs *regs = task_pt_regs(child); in ptrace_get_syscall_info() local
|
D | kexec_core.c | 945 void __noclone __crash_kexec(struct pt_regs *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 | watchdog_hld.c | 112 struct pt_regs *regs) in watchdog_overflow_callback()
|
/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() 560 unsigned long long regs; in perf_call_bpf_enter() member 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() 662 unsigned long long regs; in perf_call_bpf_exit() member 673 static void perf_syscall_exit(void *ignore, struct pt_regs *regs, long ret) in perf_syscall_exit()
|
D | trace_uprobe.c | 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() local 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() 1482 static int uprobe_dispatcher(struct uprobe_consumer *con, struct pt_regs *regs) in uprobe_dispatcher() 1520 unsigned long func, struct pt_regs *regs) in uretprobe_dispatcher()
|
D | bpf_trace.c | 136 BPF_CALL_2(bpf_override_return, struct pt_regs *, regs, unsigned long, rc) in BPF_CALL_2() argument 566 __bpf_perf_event_output(struct pt_regs *regs, struct bpf_map *map, in __bpf_perf_event_output() 605 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() argument 654 struct pt_regs regs[3]; member 677 struct pt_regs *regs; in bpf_event_output() local 994 BPF_CALL_1(bpf_get_func_ip_kprobe, struct pt_regs *, regs) in BPF_CALL_1() argument 1208 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_5() local 1232 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_3() local 1255 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_4() local 1402 struct pt_regs regs[3]; member [all …]
|
D | trace_kprobe.c | 1337 struct pt_regs *regs = rec; in process_fetch_insn() local 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() 1740 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() 438 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 | 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() 898 int kgdb_nmicallback(int cpu, void *regs) in kgdb_nmicallback() 920 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 | 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 …]
|
D | internal.h | 236 #define perf_user_stack_pointer(regs) user_stack_pointer(regs) argument 243 #define perf_user_stack_pointer(regs) 0 argument
|
D | core.c | 6753 struct pt_regs *regs, u64 mask) in perf_output_sample_regs() 6768 struct pt_regs *regs) in perf_sample_regs_user() 6782 struct pt_regs *regs) in perf_sample_regs_intr() 6796 static u64 perf_ustack_task_size(struct pt_regs *regs) in perf_ustack_task_size() 6808 struct pt_regs *regs) in perf_sample_ustack_size() 6847 struct pt_regs *regs) in perf_output_sample_ustack() 7485 perf_callchain(struct perf_event *event, struct pt_regs *regs) in perf_callchain() 7505 struct pt_regs *regs) in perf_prepare_sample() 7680 struct pt_regs *regs, in __perf_event_output() 7711 struct pt_regs *regs) in perf_event_output_forward() [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() local 555 struct pt_regs *regs = (struct pt_regs *)(ctx->regs); in BPF_CALL_4() local
|
D | verifier.c | 1143 struct bpf_reg_state *regs, u32 regno) in mark_reg_known_zero() 1460 struct bpf_reg_state *regs, u32 regno) in mark_reg_unknown() 1480 struct bpf_reg_state *regs, u32 regno) in mark_reg_not_init() 1493 struct bpf_reg_state *regs, u32 regno, in mark_btf_ld_reg() 1511 struct bpf_reg_state *regs = state->regs; in init_reg_state() local 2076 struct bpf_reg_state *reg, *regs = state->regs; in check_reg_arg() local 3351 struct bpf_reg_state *regs = cur_regs(env); in check_map_access_type() local 3558 struct bpf_reg_state *regs = cur_regs(env); in check_packet_access() local 3650 struct bpf_reg_state *regs = cur_regs(env); in check_sock_access() local 4155 struct bpf_reg_state *regs, in check_ptr_to_btf_access() [all …]
|