Lines Matching refs:insn
18 static bool __kprobes aarch64_insn_is_steppable(u32 insn) in aarch64_insn_is_steppable() argument
27 if (aarch64_get_insn_class(insn) == AARCH64_INSN_CLS_BR_SYS) { in aarch64_insn_is_steppable()
28 if (aarch64_insn_is_branch(insn) || in aarch64_insn_is_steppable()
29 aarch64_insn_is_msr_imm(insn) || in aarch64_insn_is_steppable()
30 aarch64_insn_is_msr_reg(insn) || in aarch64_insn_is_steppable()
31 aarch64_insn_is_exception(insn) || in aarch64_insn_is_steppable()
32 aarch64_insn_is_eret(insn) || in aarch64_insn_is_steppable()
33 aarch64_insn_is_eret_auth(insn)) in aarch64_insn_is_steppable()
41 if (aarch64_insn_is_mrs(insn)) in aarch64_insn_is_steppable()
42 return aarch64_insn_extract_system_reg(insn) in aarch64_insn_is_steppable()
51 if (aarch64_insn_is_hint(insn)) in aarch64_insn_is_steppable()
52 return aarch64_insn_is_steppable_hint(insn); in aarch64_insn_is_steppable()
63 if (aarch64_insn_uses_literal(insn) || in aarch64_insn_is_steppable()
64 aarch64_insn_is_exclusive(insn)) in aarch64_insn_is_steppable()
76 arm_probe_decode_insn(probe_opcode_t insn, struct arch_probe_insn *api) in arm_probe_decode_insn() argument
82 if (aarch64_insn_is_steppable(insn)) in arm_probe_decode_insn()
85 if (aarch64_insn_is_bcond(insn)) { in arm_probe_decode_insn()
87 } else if (aarch64_insn_is_cbz(insn) || in arm_probe_decode_insn()
88 aarch64_insn_is_cbnz(insn)) { in arm_probe_decode_insn()
90 } else if (aarch64_insn_is_tbz(insn) || in arm_probe_decode_insn()
91 aarch64_insn_is_tbnz(insn)) { in arm_probe_decode_insn()
93 } else if (aarch64_insn_is_adr_adrp(insn)) { in arm_probe_decode_insn()
95 } else if (aarch64_insn_is_b(insn) || in arm_probe_decode_insn()
96 aarch64_insn_is_bl(insn)) { in arm_probe_decode_insn()
98 } else if (aarch64_insn_is_br(insn) || in arm_probe_decode_insn()
99 aarch64_insn_is_blr(insn) || in arm_probe_decode_insn()
100 aarch64_insn_is_ret(insn)) { in arm_probe_decode_insn()
102 } else if (aarch64_insn_is_ldr_lit(insn)) { in arm_probe_decode_insn()
104 } else if (aarch64_insn_is_ldrsw_lit(insn)) { in arm_probe_decode_insn()
140 probe_opcode_t insn = le32_to_cpu(*addr); in arm_kprobe_decode_insn() local
160 decoded = arm_probe_decode_insn(insn, &asi->api); in arm_kprobe_decode_insn()