Home
last modified time | relevance | path

Searched refs:__kprobes (Results 1 – 25 of 47) sorted by relevance

12

/linux/arch/csky/kernel/probes/
H A Dkprobes.c19 static void __kprobes
28 static int __kprobes patch_text_cb(void *priv) in patch_text_cb()
47 static int __kprobes patch_text(kprobe_opcode_t *addr, u32 opcode) in patch_text()
54 static void __kprobes arch_prepare_ss_slot(struct kprobe *p) in arch_prepare_ss_slot()
63 static void __kprobes arch_prepare_simulate(struct kprobe *p) in arch_prepare_simulate()
68 static void __kprobes arch_simulate_insn(struct kprobe *p, struct pt_regs *regs) in arch_simulate_insn()
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()
[all …]
H A Dsimulate-insn.c68 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/
H A Dkprobes.c22 static void __kprobes
25 static void __kprobes arch_prepare_ss_slot(struct kprobe *p) in arch_prepare_ss_slot()
36 static void __kprobes arch_prepare_simulate(struct kprobe *p) in arch_prepare_simulate()
41 static void __kprobes arch_simulate_insn(struct kprobe *p, struct pt_regs *regs) in arch_simulate_insn()
52 static bool __kprobes arch_check_kprobe(struct kprobe *p) in arch_check_kprobe()
67 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
108 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
117 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
124 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
128 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
[all …]
H A Dsimulate-insn.c36 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()
139 bool __kprobes simulate_branch(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_branch()
192 bool __kprobes simulate_c_j(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_c_j()
216 static bool __kprobes simulate_c_jr_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs, in simulate_c_jr_jalr()
243 bool __kprobes simulate_c_jr(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_c_jr()
248 bool __kprobes simulate_c_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_c_jalr()
253 static bool __kprobes simulate_c_bnez_beqz(u32 opcode, unsigned long addr, struct pt_regs *regs, in simulate_c_bnez_beqz()
287 bool __kprobes simulate_c_bnez(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_c_bnez()
[all …]
/linux/arch/arm/probes/
H A Ddecode.c84 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()
114 static unsigned long __kprobes __check_vs(unsigned long cpsr) in __check_vs()
119 static unsigned long __kprobes __check_vc(unsigned long cpsr) in __check_vc()
124 static unsigned long __kprobes __check_hi(unsigned long cpsr) in __check_hi()
130 static unsigned long __kprobes __check_ls(unsigned long cpsr) in __check_ls()
[all …]
H A Ddecode-arm.h50 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,
H A Ddecode-arm.c53 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
H A Ddecode.h39 static inline void __kprobes bx_write_pc(long pcv, struct pt_regs *regs) in bx_write_pc()
68 static inline void __kprobes load_write_pc(long pcv, struct pt_regs *regs) in load_write_pc()
96 static inline void __kprobes alu_write_pc(long pcv, struct pt_regs *regs) in alu_write_pc()
379 int __kprobes
H A Ddecode-thumb.c836 static unsigned long __kprobes thumb_check_cc(unsigned long cpsr) in thumb_check_cc()
843 static void __kprobes thumb16_singlestep(probes_opcode_t opcode, in thumb16_singlestep()
852 static void __kprobes thumb32_singlestep(probes_opcode_t opcode, in thumb32_singlestep()
861 enum probes_insn __kprobes
872 enum probes_insn __kprobes
H A Ddecode-thumb.h86 enum probes_insn __kprobes
90 enum probes_insn __kprobes
/linux/arch/arm/probes/kprobes/
H A Dactions-thumb.c23 static void __kprobes
43 static void __kprobes
52 static void __kprobes
67 static enum probes_insn __kprobes
77 static void __kprobes
105 static void __kprobes
143 static enum probes_insn __kprobes
157 static void __kprobes
184 static void __kprobes
210 static void __kprobes
[all …]
H A Dactions-common.c18 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
109 static void __kprobes
117 static void __kprobes
126 enum probes_insn __kprobes
H A Dactions-arm.c68 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
H A Dcheckers-thumb.c13 static enum probes_insn __kprobes t32_check_stack(probes_opcode_t insn, in t32_check_stack()
87 static enum probes_insn __kprobes t16_check_stack(probes_opcode_t insn, in t16_check_stack()
H A Dcheckers-arm.c13 static enum probes_insn __kprobes arm_check_stack(probes_opcode_t insn, in arm_check_stack()
93 static enum probes_insn __kprobes arm_check_regs_nouse(probes_opcode_t insn, in arm_check_regs_nouse()
/linux/arch/arm64/kernel/probes/
H A Dsimulate-insn.c52 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()
76 static bool __kprobes check_tbnz(u32 opcode, struct pt_regs *regs) in check_tbnz()
87 void __kprobes
105 void __kprobes
117 void __kprobes
128 void __kprobes
141 void __kprobes
156 void __kprobes
[all …]
H A Ddecode-insn.c18 static bool __kprobes aarch64_insn_is_steppable(u32 insn) in aarch64_insn_is_steppable()
78 enum probe_insn __kprobes
126 static bool __kprobes
144 enum probe_insn __kprobes
/linux/arch/sparc/kernel/
H A Dkprobes.c50 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()
85 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
93 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe()
101 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs, in prepare_singlestep()
116 static int __kprobes kprobe_handler(struct pt_regs *regs) in kprobe_handler()
201 static unsigned long __kprobes relbranch_fixup(u32 insn, struct kprobe *p, in relbranch_fixup()
236 static void __kprobes retpc_fixup(struct pt_regs *regs, u32 insn, in retpc_fixup()
[all …]
/linux/arch/arc/kernel/
H A Dkprobes.c23 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()
85 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
91 static inline void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe()
96 static void __kprobes resume_execution(struct kprobe *p, unsigned long addr, in resume_execution()
125 static void __kprobes setup_singlestep(struct kprobe *p, struct pt_regs *regs) in setup_singlestep()
194 __kprobes arc_kprobe_handler(unsigned long addr, struct pt_regs *regs) in arc_kprobe_handler()
[all …]
/linux/arch/sh/kernel/
H A Dkprobes.c40 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
53 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
60 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
67 int __kprobes arch_trampoline_kprobe(struct kprobe *p) in arch_trampoline_kprobe()
81 int __kprobes kprobe_handle_illslot(unsigned long pc) in kprobe_handle_illslot()
95 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
116 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
122 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
128 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe()
139 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs) in prepare_singlestep()
[all …]
/linux/arch/arm64/kernel/
H A Dpatching.c31 static void __kprobes *patch_map(void *addr, int fixmap) in patch_map()
46 static void __kprobes patch_unmap(int fixmap) in patch_unmap()
54 int __kprobes aarch64_insn_read(void *addr, u32 *insnp) in aarch64_insn_read()
66 static int __kprobes __aarch64_insn_write(void *addr, __le32 insn) in __aarch64_insn_write()
83 int __kprobes aarch64_insn_write(void *addr, u32 insn) in aarch64_insn_write()
180 int __kprobes aarch64_insn_patch_text_nosync(void *addr, u32 insn) in aarch64_insn_patch_text_nosync()
204 static int __kprobes aarch64_insn_patch_text_cb(void *arg) in aarch64_insn_patch_text_cb()
225 int __kprobes aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt) in aarch64_insn_patch_text()
/linux/arch/loongarch/mm/
H A Dfault.c34 static int __kprobes spurious_fault(unsigned long write, unsigned long address) in spurious_fault()
72 static void __kprobes no_context(struct pt_regs *regs, in no_context()
100 static void __kprobes do_out_of_memory(struct pt_regs *regs, in do_out_of_memory()
114 static void __kprobes do_sigbus(struct pt_regs *regs, in do_sigbus()
132 static void __kprobes do_sigsegv(struct pt_regs *regs, in do_sigsegv()
175 static void __kprobes __do_page_fault(struct pt_regs *regs, in __do_page_fault()
297 asmlinkage void __kprobes do_page_fault(struct pt_regs *regs, in do_page_fault()
/linux/include/asm-generic/
H A Dkprobes.h17 # define __kprobes __section(".kprobes.text") macro
21 # define __kprobes macro
/linux/arch/parisc/include/asm/
H A Dkprobes.h53 int __kprobes parisc_kprobe_break_handler(struct pt_regs *regs);
54 int __kprobes parisc_kprobe_ss_handler(struct pt_regs *regs);
/linux/arch/sparc/mm/
H A Dfault_64.c40 static void __kprobes unhandled_fault(unsigned long address, in unhandled_fault()
61 static void __kprobes bad_kernel_pc(struct pt_regs *regs, unsigned long vaddr) in bad_kernel_pc()
199 static void __kprobes do_kernel_fault(struct pt_regs *regs, int si_code, in do_kernel_fault()
255 static void noinline __kprobes bogus_32bit_fault_tpc(struct pt_regs *regs) in bogus_32bit_fault_tpc()
267 asmlinkage void __kprobes do_sparc64_fault(struct pt_regs *regs) in do_sparc64_fault()

12