/linux/arch/csky/kernel/probes/ |
A D | kprobes.c | 19 static void __kprobes 28 static int __kprobes patch_text_cb(void *priv) in patch_text_cb() 78 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 114 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 120 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 125 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 167 static void __kprobes 216 static int __kprobes reenter_kprobe(struct kprobe *p, in reenter_kprobe() 240 static void __kprobes 306 int __kprobes [all …]
|
A D | simulate-insn.c | 68 void __kprobes 75 void __kprobes 82 void __kprobes 92 void __kprobes 102 void __kprobes 112 void __kprobes 122 void __kprobes 132 void __kprobes 142 void __kprobes 154 void __kprobes [all …]
|
/linux/arch/riscv/kernel/probes/ |
A D | kprobes.c | 21 static void __kprobes 24 static void __kprobes arch_prepare_ss_slot(struct kprobe *p) in arch_prepare_ss_slot() 51 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 97 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 106 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 111 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 181 static int __kprobes reenter_kprobe(struct kprobe *p, in reenter_kprobe() 205 static void __kprobes 268 bool __kprobes 318 bool __kprobes [all …]
|
A D | simulate-insn.c | 36 bool __kprobes simulate_jal(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_jal() 61 bool __kprobes simulate_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_jalr() 101 bool __kprobes simulate_auipc(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_auipc() 146 bool __kprobes simulate_branch(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_branch()
|
/linux/arch/arm64/kernel/probes/ |
A D | kprobes.c | 41 static void __kprobes 79 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 125 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 134 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 141 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 185 static void __kprobes setup_singlestep(struct kprobe *p, in setup_singlestep() 212 static int __kprobes reenter_kprobe(struct kprobe *p, in reenter_kprobe() 236 static void __kprobes 337 static int __kprobes 361 static int __kprobes [all …]
|
A D | simulate-insn.c | 52 static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs) in check_cbz() 60 static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs) in check_cbnz() 68 static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs) in check_tbz() 87 void __kprobes 105 void __kprobes 117 void __kprobes 128 void __kprobes 141 void __kprobes 156 void __kprobes 171 void __kprobes [all …]
|
A D | decode-insn.c | 18 static bool __kprobes aarch64_insn_is_steppable(u32 insn) in aarch64_insn_is_steppable() 75 enum probe_insn __kprobes 118 static bool __kprobes 136 enum probe_insn __kprobes
|
/linux/arch/arm/probes/ |
A D | decode.c | 84 static unsigned long __kprobes __check_eq(unsigned long cpsr) in __check_eq() 89 static unsigned long __kprobes __check_ne(unsigned long cpsr) in __check_ne() 94 static unsigned long __kprobes __check_cs(unsigned long cpsr) in __check_cs() 99 static unsigned long __kprobes __check_cc(unsigned long cpsr) in __check_cc() 104 static unsigned long __kprobes __check_mi(unsigned long cpsr) in __check_mi() 109 static unsigned long __kprobes __check_pl(unsigned long cpsr) in __check_pl() 175 void __kprobes probes_simulate_nop(probes_opcode_t opcode, in probes_simulate_nop() 181 void __kprobes probes_emulate_none(probes_opcode_t opcode, in probes_emulate_none() 195 static probes_opcode_t __kprobes 221 static void __kprobes [all …]
|
A D | decode-arm.h | 50 void __kprobes simulate_bbl(probes_opcode_t opcode, 52 void __kprobes simulate_blx1(probes_opcode_t opcode, 54 void __kprobes simulate_blx2bx(probes_opcode_t opcode, 56 void __kprobes simulate_mrs(probes_opcode_t opcode, 58 void __kprobes simulate_mov_ipsp(probes_opcode_t opcode,
|
A D | decode-arm.c | 53 void __kprobes simulate_bbl(probes_opcode_t insn, in simulate_bbl() 65 void __kprobes simulate_blx1(probes_opcode_t insn, in simulate_blx1() 76 void __kprobes simulate_blx2bx(probes_opcode_t insn, in simulate_blx2bx() 91 void __kprobes simulate_mrs(probes_opcode_t insn, in simulate_mrs() 99 void __kprobes simulate_mov_ipsp(probes_opcode_t insn, in simulate_mov_ipsp() 700 static void __kprobes arm_singlestep(probes_opcode_t insn, in arm_singlestep() 719 enum probes_insn __kprobes
|
A D | decode.h | 63 static inline void __kprobes bx_write_pc(long pcv, struct pt_regs *regs) in bx_write_pc() 92 static inline void __kprobes load_write_pc(long pcv, struct pt_regs *regs) in load_write_pc() 120 static inline void __kprobes alu_write_pc(long pcv, struct pt_regs *regs) in alu_write_pc() 403 int __kprobes
|
/linux/arch/arm/probes/kprobes/ |
A D | actions-thumb.c | 23 static void __kprobes 43 static void __kprobes 52 static void __kprobes 77 static void __kprobes 105 static void __kprobes 157 static void __kprobes 184 static void __kprobes 210 static void __kprobes 237 static void __kprobes 257 static void __kprobes [all …]
|
A D | core.c | 48 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 120 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 178 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 184 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 204 static void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe() 209 static void __kprobes 223 static inline void __kprobes 236 void __kprobes kprobe_handler(struct pt_regs *regs) in kprobe_handler() 358 int __kprobes kprobe_exceptions_notify(struct notifier_block *self, in kprobe_exceptions_notify() 376 void __naked __kprobes __kretprobe_trampoline(void) in __kretprobe_trampoline() [all …]
|
A D | actions-common.c | 18 static void __kprobes simulate_ldm1stm1(probes_opcode_t insn, in simulate_ldm1stm1() 60 static void __kprobes simulate_stm1_pc(probes_opcode_t insn, in simulate_stm1_pc() 71 static void __kprobes simulate_ldm1_pc(probes_opcode_t insn, in simulate_ldm1_pc() 79 static void __kprobes 107 static void __kprobes 115 static void __kprobes 124 enum probes_insn __kprobes
|
A D | actions-arm.c | 68 static void __kprobes 97 static void __kprobes 127 static void __kprobes 154 static void __kprobes 189 static void __kprobes 216 static void __kprobes 246 static void __kprobes 266 static void __kprobes
|
/linux/arch/parisc/kernel/ |
A D | kprobes.c | 19 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 35 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 44 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 49 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 66 static inline void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe() 71 static void __kprobes setup_singlestep(struct kprobe *p, in setup_singlestep() 81 int __kprobes parisc_kprobe_break_handler(struct pt_regs *regs) in parisc_kprobe_break_handler() 131 int __kprobes parisc_kprobe_ss_handler(struct pt_regs *regs) in parisc_kprobe_ss_handler() 184 static int __kprobes trampoline_probe_handler(struct kprobe *p, 191 static int __kprobes trampoline_probe_handler(struct kprobe *p, in trampoline_probe_handler() [all …]
|
A D | patch.c | 26 static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags, in patch_map() 51 static void __kprobes patch_unmap(int fixmap, unsigned long *flags) in patch_unmap() 61 void __kprobes __patch_text_multiple(void *addr, u32 *insn, unsigned int len) in __patch_text_multiple() 99 void __kprobes __patch_text(void *addr, u32 insn) in __patch_text() 104 static int __kprobes patch_text_stop_machine(void *data) in patch_text_stop_machine() 112 void __kprobes patch_text(void *addr, unsigned int insn) in patch_text() 123 void __kprobes patch_text_multiple(void *addr, u32 *insn, unsigned int len) in patch_text_multiple()
|
/linux/arch/sparc/kernel/ |
A D | kprobes.c | 50 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 65 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 71 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 77 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 116 static int __kprobes kprobe_handler(struct pt_regs *regs) in kprobe_handler() 236 static void __kprobes retpc_fixup(struct pt_regs *regs, u32 insn, in retpc_fixup() 277 static void __kprobes resume_execution(struct kprobe *p, in resume_execution() 293 static int __kprobes post_kprobe_handler(struct pt_regs *regs) in post_kprobe_handler() 399 asmlinkage void __kprobes kprobe_trap(unsigned long trap_level, in kprobe_trap() 449 static int __kprobes trampoline_probe_handler(struct kprobe *p, in trampoline_probe_handler() [all …]
|
/linux/arch/arc/kernel/ |
A D | kprobes.c | 23 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 37 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 45 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 53 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 79 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 91 static inline void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe() 244 static int __kprobes arc_post_kprobe_handler(unsigned long addr, in arc_post_kprobe_handler() 339 int __kprobes kprobe_exceptions_notify(struct notifier_block *self, in kprobe_exceptions_notify() 371 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe() 382 static int __kprobes trampoline_probe_handler(struct kprobe *p, in trampoline_probe_handler() [all …]
|
/linux/arch/ia64/kernel/ |
A D | kprobes.c | 67 static void __kprobes set_brl_inst(void *from, void *to) in set_brl_inst() 348 static int __kprobes in_ivt_functions(unsigned long addr) in in_ivt_functions() 354 static int __kprobes valid_kprobe_addr(int template, int slot, in valid_kprobe_addr() 389 static void __kprobes set_current_kprobe(struct kprobe *p, in set_current_kprobe() 452 static int __kprobes can_boost(bundle_t *bundle, uint slot, in can_boost() 472 static void __kprobes prepare_booster(struct kprobe *p) in prepare_booster() 491 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 530 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 557 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 580 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() [all …]
|
/linux/arch/sh/kernel/ |
A D | kprobes.c | 40 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 52 void __kprobes arch_copy_kprobe(struct kprobe *p) in arch_copy_kprobe() 58 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 65 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 72 int __kprobes arch_trampoline_kprobe(struct kprobe *p) in arch_trampoline_kprobe() 86 int __kprobes kprobe_handle_illslot(unsigned long pc) in kprobe_handle_illslot() 100 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 121 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe() 203 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe() 213 static int __kprobes kprobe_handler(struct pt_regs *regs) in kprobe_handler() [all …]
|
/linux/arch/arm64/kernel/ |
A D | patching.c | 31 static void __kprobes *patch_map(void *addr, int fixmap) in patch_map() 49 static void __kprobes patch_unmap(int fixmap) in patch_unmap() 57 int __kprobes aarch64_insn_read(void *addr, u32 *insnp) in aarch64_insn_read() 69 static int __kprobes __aarch64_insn_write(void *addr, __le32 insn) in __aarch64_insn_write() 86 int __kprobes aarch64_insn_write(void *addr, u32 insn) in aarch64_insn_write() 91 int __kprobes aarch64_insn_patch_text_nosync(void *addr, u32 insn) in aarch64_insn_patch_text_nosync() 115 static int __kprobes aarch64_insn_patch_text_cb(void *arg) in aarch64_insn_patch_text_cb() 136 int __kprobes aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt) in aarch64_insn_patch_text()
|
A D | traps.c | 49 static bool __kprobes __check_eq(unsigned long pstate) in __check_eq() 54 static bool __kprobes __check_ne(unsigned long pstate) in __check_ne() 59 static bool __kprobes __check_cs(unsigned long pstate) in __check_cs() 64 static bool __kprobes __check_cc(unsigned long pstate) in __check_cc() 69 static bool __kprobes __check_mi(unsigned long pstate) in __check_mi() 74 static bool __kprobes __check_pl(unsigned long pstate) in __check_pl() 79 static bool __kprobes __check_vs(unsigned long pstate) in __check_vs() 84 static bool __kprobes __check_vc(unsigned long pstate) in __check_vc() 89 static bool __kprobes __check_hi(unsigned long pstate) in __check_hi() 95 static bool __kprobes __check_ls(unsigned long pstate) in __check_ls() [all …]
|
/linux/arch/arm/kernel/ |
A D | patch.c | 22 static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags) in patch_map() 43 static void __kprobes patch_unmap(int fixmap, unsigned long *flags) in patch_unmap() 51 static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags) in patch_map() 55 static void __kprobes patch_unmap(int fixmap, unsigned long *flags) { } in patch_unmap() 58 void __kprobes __patch_text_real(void *addr, unsigned int insn, bool remap) in __patch_text_real() 111 static int __kprobes patch_text_stop_machine(void *data) in patch_text_stop_machine() 120 void __kprobes patch_text(void *addr, unsigned int insn) in patch_text()
|
/linux/arch/mips/kernel/ |
A D | kprobes.c | 47 static int __kprobes insn_has_delayslot(union mips_instruction insn) in insn_has_delayslot() 59 static int __kprobes insn_has_ll_or_sc(union mips_instruction insn) in insn_has_ll_or_sc() 76 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 136 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 142 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 148 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 260 static void __kprobes resume_execution(struct kprobe *p, in resume_execution() 272 static int __kprobes kprobe_handler(struct pt_regs *regs) in kprobe_handler() 418 int __kprobes kprobe_exceptions_notify(struct notifier_block *self, in kprobe_exceptions_notify() 485 static int __kprobes trampoline_probe_handler(struct kprobe *p, in trampoline_probe_handler() [all …]
|