Home
last modified time | relevance | path

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

12

/kernel/
Dtest_kprobes.c26 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()
Drseq.c221 static int rseq_ip_fixup(struct pt_regs *regs) in rseq_ip_fixup()
262 void __rseq_handle_notify_resume(struct ksignal *ksig, struct pt_regs *regs) in __rseq_handle_notify_resume()
289 void rseq_syscall(struct pt_regs *regs) in rseq_syscall()
Dpanic.c85 void __weak nmi_panic_self_stop(struct pt_regs *regs) in nmi_panic_self_stop()
124 void nmi_panic(struct pt_regs *regs, const char *msg) in nmi_panic()
559 struct pt_regs *regs, struct warn_args *args) in __warn()
675 void refcount_error_report(struct pt_regs *regs, const char *err) in refcount_error_report()
Dstacktrace.c165 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()
Dfail_function.c17 static void fei_post_handler(struct kprobe *kp, struct pt_regs *regs, in fei_post_handler()
172 static int fei_kprobe_handler(struct kprobe *kp, struct pt_regs *regs) in fei_kprobe_handler()
Dptrace.c909 ptrace_get_syscall_info_entry(struct task_struct *child, struct pt_regs *regs, in ptrace_get_syscall_info_entry()
926 ptrace_get_syscall_info_seccomp(struct task_struct *child, struct pt_regs *regs, in ptrace_get_syscall_info_seccomp()
945 ptrace_get_syscall_info_exit(struct task_struct *child, struct pt_regs *regs, in ptrace_get_syscall_info_exit()
962 struct pt_regs *regs = task_pt_regs(child); in ptrace_get_syscall_info() local
Dkexec_core.c938 void __noclone __crash_kexec(struct pt_regs *regs) in __crash_kexec()
962 void crash_kexec(struct pt_regs *regs) in crash_kexec()
1055 void crash_save_cpu(struct pt_regs *regs, int cpu) in crash_save_cpu()
Dkprobes.c370 void opt_pre_handler(struct kprobe *p, struct pt_regs *regs) in opt_pre_handler()
1095 static int aggr_pre_handler(struct kprobe *p, struct pt_regs *regs) in aggr_pre_handler()
1111 static void aggr_post_handler(struct kprobe *p, struct pt_regs *regs, in aggr_post_handler()
1126 static int aggr_fault_handler(struct kprobe *p, struct pt_regs *regs, in aggr_fault_handler()
1837 static int pre_handler_kretprobe(struct kprobe *p, struct pt_regs *regs) in pre_handler_kretprobe()
2031 static int pre_handler_kretprobe(struct kprobe *p, struct pt_regs *regs) in pre_handler_kretprobe()
/kernel/trace/
Dtrace_syscalls.c65 trace_get_syscall_nr(struct task_struct *task, struct pt_regs *regs) in trace_get_syscall_nr()
74 trace_get_syscall_nr(struct task_struct *task, struct pt_regs *regs) in trace_get_syscall_nr()
308 static void ftrace_syscall_enter(void *data, struct pt_regs *regs, long id) in ftrace_syscall_enter()
358 static void ftrace_syscall_exit(void *data, struct pt_regs *regs, long ret) in ftrace_syscall_exit()
565 static int perf_call_bpf_enter(struct trace_event_call *call, struct pt_regs *regs, in perf_call_bpf_enter()
570 unsigned long long regs; in perf_call_bpf_enter() member
583 static void perf_syscall_enter(void *ignore, struct pt_regs *regs, long id) in perf_syscall_enter()
668 static int perf_call_bpf_exit(struct trace_event_call *call, struct pt_regs *regs, in perf_call_bpf_exit()
672 unsigned long long regs; in perf_call_bpf_exit() member
683 static void perf_syscall_exit(void *ignore, struct pt_regs *regs, long ret) in perf_syscall_exit()
Dbpf_trace.c125 BPF_CALL_2(bpf_override_return, struct pt_regs *, regs, unsigned long, rc) in BPF_CALL_2() argument
420 __bpf_perf_event_output(struct pt_regs *regs, struct bpf_map *map, in __bpf_perf_event_output()
459 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() argument
508 struct pt_regs regs[3]; member
532 struct pt_regs *regs; in bpf_event_output() local
794 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_5() local
818 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_3() local
841 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_4() local
947 struct pt_regs regs[3]; member
972 struct pt_regs *regs = get_bpf_raw_tp_regs(); in BPF_CALL_5() local
[all …]
Dtrace_uprobe.c120 static unsigned long get_user_stack_nth(struct pt_regs *regs, unsigned int n) in get_user_stack_nth()
226 process_fetch_insn(struct fetch_insn *code, struct pt_regs *regs, void *dest, in process_fetch_insn()
944 unsigned long func, struct pt_regs *regs, in __uprobe_trace_func()
986 static int uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs, in uprobe_trace_func()
1003 struct pt_regs *regs, in uretprobe_trace_func()
1341 unsigned long func, struct pt_regs *regs, in __uprobe_perf_func()
1394 static int uprobe_perf_func(struct trace_uprobe *tu, struct pt_regs *regs, in uprobe_perf_func()
1406 struct pt_regs *regs, in uretprobe_perf_func()
1470 static int uprobe_dispatcher(struct uprobe_consumer *con, struct pt_regs *regs) in uprobe_dispatcher()
1508 unsigned long func, struct pt_regs *regs) in uretprobe_dispatcher()
Dtrace_probe_tmpl.h172 __get_data_size(struct trace_probe *tp, struct pt_regs *regs) in __get_data_size()
191 store_trace_args(void *data, struct trace_probe *tp, struct pt_regs *regs, in store_trace_args()
Dtrace_kprobe.c1126 process_fetch_insn(struct fetch_insn *code, struct pt_regs *regs, void *dest, in process_fetch_insn()
1210 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_trace_func()
1222 struct pt_regs *regs, in __kretprobe_trace_func()
1260 struct pt_regs *regs) in kretprobe_trace_func()
1372 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_perf_func()
1422 struct pt_regs *regs) in kretprobe_perf_func()
1516 static int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs) in kprobe_dispatcher()
1534 kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs) in kretprobe_dispatcher()
Dftrace_internal.h58 ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs) in ftrace_ops_test()
Dtrace_event_perf.c395 void *perf_trace_buf_alloc(int size, struct pt_regs **regs, int *rctxp) in perf_trace_buf_alloc()
440 struct pt_regs regs; in perf_ftrace_function_call() local
/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()
174 void kdb_bp_install(struct pt_regs *regs) in kdb_bp_install()
/kernel/events/
Duprobes.c1691 unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs) in uprobe_get_swbp_addr()
1696 unsigned long uprobe_get_trap_addr(struct pt_regs *regs) in uprobe_get_trap_addr()
1850 struct pt_regs *regs) in cleanup_return_instances()
1862 static void prepare_uretprobe(struct uprobe *uprobe, struct pt_regs *regs) in prepare_uretprobe()
1930 pre_ssout(struct uprobe *uprobe, struct pt_regs *regs, unsigned long bp_vaddr) in pre_ssout()
2071 static void handler_chain(struct uprobe *uprobe, struct pt_regs *regs) in handler_chain()
2104 handle_uretprobe_chain(struct return_instance *ri, struct pt_regs *regs) in handle_uretprobe_chain()
2129 static void handle_trampoline(struct pt_regs *regs) in handle_trampoline()
2171 bool __weak arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs) in arch_uprobe_ignore()
2177 struct pt_regs *regs) in arch_uretprobe_is_alive()
[all …]
Dcallchain.c39 struct pt_regs *regs) in perf_callchain_kernel()
44 struct pt_regs *regs) in perf_callchain_user()
178 get_perf_callchain(struct pt_regs *regs, u32 init_nr, bool kernel, bool user, in get_perf_callchain()
Dinternal.h239 #define perf_user_stack_pointer(regs) user_stack_pointer(regs) argument
246 #define perf_user_stack_pointer(regs) 0 argument
Dcore.c6057 struct pt_regs *regs, u64 mask) in perf_output_sample_regs()
6072 struct pt_regs *regs, in perf_sample_regs_user()
6087 struct pt_regs *regs) in perf_sample_regs_intr()
6101 static u64 perf_ustack_task_size(struct pt_regs *regs) in perf_ustack_task_size()
6113 struct pt_regs *regs) in perf_sample_ustack_size()
6152 struct pt_regs *regs) in perf_output_sample_ustack()
6562 perf_callchain(struct perf_event *event, struct pt_regs *regs) in perf_callchain()
6582 struct pt_regs *regs) in perf_prepare_sample()
6705 struct pt_regs *regs, in __perf_event_output()
6735 struct pt_regs *regs) in perf_event_output_forward()
[all …]
/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()
525 static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs, in kgdb_cpu_enter()
753 kgdb_handle_exception(int evector, int signo, int ecode, struct pt_regs *regs) in kgdb_handle_exception()
802 int kgdb_nmicallback(int cpu, void *regs) in kgdb_nmicallback()
823 int kgdb_nmicallin(int cpu, int trapnr, void *regs, int err_code, in kgdb_nmicallin()
Dgdbstub.c342 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) in pt_regs_to_gdb_regs()
354 void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) in gdb_regs_to_pt_regs()
433 static struct task_struct *getthread(struct pt_regs *regs, int tid) in getthread()
/kernel/bpf/
Dverifier.c888 struct bpf_reg_state *regs, u32 regno) in mark_reg_known_zero()
1020 struct bpf_reg_state *regs, u32 regno) in mark_reg_unknown()
1040 struct bpf_reg_state *regs, u32 regno) in mark_reg_not_init()
1056 struct bpf_reg_state *regs = state->regs; in init_reg_state() local
1376 struct bpf_reg_state *reg, *regs = state->regs; in check_reg_arg() local
2143 struct bpf_reg_state *regs = cur_regs(env); in check_map_access_type() local
2166 struct bpf_reg_state *regs = cur_regs(env); in __check_map_access() local
2293 struct bpf_reg_state *regs = cur_regs(env); in __check_packet_access() local
2308 struct bpf_reg_state *regs = cur_regs(env); in check_packet_access() local
2390 struct bpf_reg_state *regs = cur_regs(env); in check_sock_access() local
[all …]
/kernel/livepatch/
Dpatch.c43 struct pt_regs *regs) in klp_ftrace_handler()
/kernel/time/
Dtick-sched.c148 static void tick_sched_handle(struct tick_sched *ts, struct pt_regs *regs) in tick_sched_handle()
1196 struct pt_regs *regs = get_irq_regs(); in tick_nohz_handler() local
1293 struct pt_regs *regs = get_irq_regs(); in tick_sched_timer() local

12