Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/arm64/kernel/probes/
Dkprobes.c42 static void __kprobes
45 static void __kprobes arch_prepare_ss_slot(struct kprobe *p) in arch_prepare_ss_slot()
61 static void __kprobes arch_prepare_simulate(struct kprobe *p) in arch_prepare_simulate()
67 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()
121 static int __kprobes patch_text(kprobe_opcode_t *addr, u32 opcode) in patch_text()
133 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
139 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
144 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
152 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
[all …]
Dsimulate-insn.c59 static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs) in check_cbz()
67 static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs) in check_cbnz()
75 static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs) in check_tbz()
83 static bool __kprobes check_tbnz(u32 opcode, struct pt_regs *regs) in check_tbnz()
94 void __kprobes
112 void __kprobes
124 void __kprobes
135 void __kprobes
148 void __kprobes
163 void __kprobes
[all …]
Ddecode-insn.c26 static bool __kprobes aarch64_insn_is_steppable(u32 insn) in aarch64_insn_is_steppable()
80 enum probe_insn __kprobes
123 static bool __kprobes
141 enum probe_insn __kprobes
Ddecode-insn.h35 enum probe_insn __kprobes
38 enum probe_insn __kprobes
/Linux-v4.19/arch/arm/probes/
Ddecode.c87 static unsigned long __kprobes __check_eq(unsigned long cpsr) in __check_eq()
92 static unsigned long __kprobes __check_ne(unsigned long cpsr) in __check_ne()
97 static unsigned long __kprobes __check_cs(unsigned long cpsr) in __check_cs()
102 static unsigned long __kprobes __check_cc(unsigned long cpsr) in __check_cc()
107 static unsigned long __kprobes __check_mi(unsigned long cpsr) in __check_mi()
112 static unsigned long __kprobes __check_pl(unsigned long cpsr) in __check_pl()
117 static unsigned long __kprobes __check_vs(unsigned long cpsr) in __check_vs()
122 static unsigned long __kprobes __check_vc(unsigned long cpsr) in __check_vc()
127 static unsigned long __kprobes __check_hi(unsigned long cpsr) in __check_hi()
133 static unsigned long __kprobes __check_ls(unsigned long cpsr) in __check_ls()
[all …]
Ddecode-arm.h56 void __kprobes simulate_bbl(probes_opcode_t opcode,
58 void __kprobes simulate_blx1(probes_opcode_t opcode,
60 void __kprobes simulate_blx2bx(probes_opcode_t opcode,
62 void __kprobes simulate_mrs(probes_opcode_t opcode,
64 void __kprobes simulate_mov_ipsp(probes_opcode_t opcode,
Ddecode-arm.c61 void __kprobes simulate_bbl(probes_opcode_t insn, in simulate_bbl()
73 void __kprobes simulate_blx1(probes_opcode_t insn, in simulate_blx1()
84 void __kprobes simulate_blx2bx(probes_opcode_t insn, in simulate_blx2bx()
99 void __kprobes simulate_mrs(probes_opcode_t insn, in simulate_mrs()
107 void __kprobes simulate_mov_ipsp(probes_opcode_t insn, in simulate_mov_ipsp()
708 static void __kprobes arm_singlestep(probes_opcode_t insn, in arm_singlestep()
727 enum probes_insn __kprobes
Ddecode.h71 static inline void __kprobes bx_write_pc(long pcv, struct pt_regs *regs) in bx_write_pc()
100 static inline void __kprobes load_write_pc(long pcv, struct pt_regs *regs) in load_write_pc()
128 static inline void __kprobes alu_write_pc(long pcv, struct pt_regs *regs) in alu_write_pc()
411 int __kprobes
Ddecode-thumb.c839 static unsigned long __kprobes thumb_check_cc(unsigned long cpsr) in thumb_check_cc()
846 static void __kprobes thumb16_singlestep(probes_opcode_t opcode, in thumb16_singlestep()
855 static void __kprobes thumb32_singlestep(probes_opcode_t opcode, in thumb32_singlestep()
864 enum probes_insn __kprobes
875 enum probes_insn __kprobes
Ddecode-thumb.h92 enum probes_insn __kprobes
96 enum probes_insn __kprobes
/Linux-v4.19/arch/arm/probes/kprobes/
Dactions-thumb.c26 static void __kprobes
46 static void __kprobes
55 static void __kprobes
70 static enum probes_insn __kprobes
80 static void __kprobes
108 static void __kprobes
146 static enum probes_insn __kprobes
160 static void __kprobes
187 static void __kprobes
213 static void __kprobes
[all …]
Dcore.c54 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
126 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
174 void __kprobes kprobes_remove_breakpoint(void *addr, unsigned int insn) in kprobes_remove_breakpoint()
184 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
190 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
198 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
204 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
210 static void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe()
215 static void __kprobes
229 static inline void __kprobes
[all …]
Dactions-common.c21 static void __kprobes simulate_ldm1stm1(probes_opcode_t insn, in simulate_ldm1stm1()
63 static void __kprobes simulate_stm1_pc(probes_opcode_t insn, in simulate_stm1_pc()
74 static void __kprobes simulate_ldm1_pc(probes_opcode_t insn, in simulate_ldm1_pc()
82 static void __kprobes
110 static void __kprobes
118 static void __kprobes
127 enum probes_insn __kprobes
Dactions-arm.c76 static void __kprobes
105 static void __kprobes
135 static void __kprobes
162 static void __kprobes
197 static void __kprobes
224 static void __kprobes
254 static void __kprobes
274 static void __kprobes
Dcheckers-thumb.c21 static enum probes_insn __kprobes t32_check_stack(probes_opcode_t insn, in t32_check_stack()
95 static enum probes_insn __kprobes t16_check_stack(probes_opcode_t insn, in t16_check_stack()
Dcheckers-arm.c21 static enum probes_insn __kprobes arm_check_stack(probes_opcode_t insn, in arm_check_stack()
101 static enum probes_insn __kprobes arm_check_regs_nouse(probes_opcode_t insn, in arm_check_regs_nouse()
/Linux-v4.19/arch/sparc/kernel/
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-v4.19/arch/arc/kernel/
Dkprobes.c26 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
40 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
48 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
56 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
82 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
88 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
94 static inline void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe()
99 static void __kprobes resume_execution(struct kprobe *p, unsigned long addr, in resume_execution()
128 static void __kprobes setup_singlestep(struct kprobe *p, struct pt_regs *regs) in setup_singlestep()
196 int __kprobes arc_kprobe_handler(unsigned long addr, struct pt_regs *regs) in arc_kprobe_handler()
[all …]
/Linux-v4.19/arch/sh/kernel/
Dkprobes.c43 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
55 void __kprobes arch_copy_kprobe(struct kprobe *p) in arch_copy_kprobe()
61 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
68 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
75 int __kprobes arch_trampoline_kprobe(struct kprobe *p) in arch_trampoline_kprobe()
89 int __kprobes kprobe_handle_illslot(unsigned long pc) in kprobe_handle_illslot()
103 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
124 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
130 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
136 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe()
[all …]
/Linux-v4.19/arch/ia64/kernel/
Dkprobes.c80 static void __kprobes set_brl_inst(void *from, void *to) in set_brl_inst()
98 static void __kprobes update_kprobe_inst_flag(uint template, uint slot, in update_kprobe_inst_flag()
151 static uint __kprobes is_cmp_ctype_unc_inst(uint template, uint slot, in is_cmp_ctype_unc_inst()
187 static int __kprobes unsupported_inst(uint template, uint slot, in unsupported_inst()
298 static void __kprobes prepare_break_inst(uint template, uint slot, in prepare_break_inst()
334 static void __kprobes get_kprobe_inst(bundle_t *bundle, uint slot, in get_kprobe_inst()
361 static int __kprobes in_ivt_functions(unsigned long addr) in in_ivt_functions()
367 static int __kprobes valid_kprobe_addr(int template, int slot, in valid_kprobe_addr()
385 static void __kprobes save_previous_kprobe(struct kprobe_ctlblk *kcb) in save_previous_kprobe()
393 static void __kprobes restore_previous_kprobe(struct kprobe_ctlblk *kcb) in restore_previous_kprobe()
[all …]
/Linux-v4.19/arch/arm64/kernel/
Dinsn.c59 enum aarch64_insn_encoding_class __kprobes aarch64_get_insn_class(u32 insn) in aarch64_get_insn_class()
65 bool __kprobes aarch64_insn_is_nop(u32 insn) in aarch64_insn_is_nop()
92 static void __kprobes *patch_map(void *addr, int fixmap) in patch_map()
110 static void __kprobes patch_unmap(int fixmap) in patch_unmap()
118 int __kprobes aarch64_insn_read(void *addr, u32 *insnp) in aarch64_insn_read()
130 static int __kprobes __aarch64_insn_write(void *addr, __le32 insn) in __aarch64_insn_write()
147 int __kprobes aarch64_insn_write(void *addr, u32 insn) in aarch64_insn_write()
152 bool __kprobes aarch64_insn_uses_literal(u32 insn) in aarch64_insn_uses_literal()
162 bool __kprobes aarch64_insn_is_branch(u32 insn) in aarch64_insn_is_branch()
178 int __kprobes aarch64_insn_patch_text_nosync(void *addr, u32 insn) in aarch64_insn_patch_text_nosync()
[all …]
/Linux-v4.19/arch/mips/kernel/
Dkprobes.c57 static int __kprobes insn_has_delayslot(union mips_instruction insn) in insn_has_delayslot()
69 static int __kprobes insn_has_ll_or_sc(union mips_instruction insn) in insn_has_ll_or_sc()
86 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
147 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
153 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
159 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
273 static void __kprobes resume_execution(struct kprobe *p, in resume_execution()
285 static int __kprobes kprobe_handler(struct pt_regs *regs) in kprobe_handler()
434 int __kprobes kprobe_exceptions_notify(struct notifier_block *self, in kprobe_exceptions_notify()
488 void __kprobes arch_prepare_kretprobe(struct kretprobe_instance *ri, in arch_prepare_kretprobe()
[all …]
/Linux-v4.19/arch/arm/kernel/
Dpatch.c21 static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags) in patch_map()
45 static void __kprobes patch_unmap(int fixmap, unsigned long *flags) in patch_unmap()
56 void __kprobes __patch_text_real(void *addr, unsigned int insn, bool remap) in __patch_text_real()
112 static int __kprobes patch_text_stop_machine(void *data) in patch_text_stop_machine()
121 void __kprobes patch_text(void *addr, unsigned int insn) in patch_text()
/Linux-v4.19/include/asm-generic/
Dkprobes.h17 # define __kprobes __attribute__((__section__(".kprobes.text"))) macro
21 # define __kprobes macro
/Linux-v4.19/arch/sparc/mm/
Dfault_64.c41 static inline __kprobes int notify_page_fault(struct pt_regs *regs) in notify_page_fault()
55 static void __kprobes unhandled_fault(unsigned long address, in unhandled_fault()
76 static void __kprobes bad_kernel_pc(struct pt_regs *regs, unsigned long vaddr) in bad_kernel_pc()
207 static void __kprobes do_kernel_fault(struct pt_regs *regs, int si_code, in do_kernel_fault()
263 static void noinline __kprobes bogus_32bit_fault_tpc(struct pt_regs *regs) in bogus_32bit_fault_tpc()
275 asmlinkage void __kprobes do_sparc64_fault(struct pt_regs *regs) in do_sparc64_fault()

12