Lines Matching +full:0 +full:x170

31  * - Set regs->tpc to point to kprobe->ainsn.insn[0]
52 if ((unsigned long) p->addr & 0x3UL) in arch_prepare_kprobe()
55 p->ainsn.insn[0] = *p->addr; in arch_prepare_kprobe()
56 flushi(&p->ainsn.insn[0]); in arch_prepare_kprobe()
62 return 0; in arch_prepare_kprobe()
111 regs->tpc = (unsigned long) &p->ainsn.insn[0]; in prepare_singlestep()
120 int ret = 0; in kprobe_handler()
207 if (regs->tnpc == regs->tpc + 0x4UL) in relbranch_fixup()
208 return real_pc + 0x8UL; in relbranch_fixup()
213 if ((insn & 0xc0000000) == 0x40000000 || in relbranch_fixup()
214 (insn & 0xc1c00000) == 0x00400000 || in relbranch_fixup()
215 (insn & 0xc1c00000) == 0x00800000) { in relbranch_fixup()
218 ainsn_addr = (unsigned long) &p->ainsn.insn[0]; in relbranch_fixup()
242 if ((insn & 0xc0000000) == 0x40000000) { in retpc_fixup()
247 if ((insn & 0xc1f80000) == 0x81c00000) { in retpc_fixup()
248 unsigned long rd = ((insn >> 25) & 0x1f); in retpc_fixup()
272 * copy is &p->ainsn.insn[0].
280 u32 insn = p->ainsn.insn[0]; in resume_execution()
299 return 0; in post_kprobe_handler()
303 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
369 return 0; in kprobe_fault_handler()
404 BUG_ON(trap_level != 0x170 && trap_level != 0x171); in kprobe_trap()
412 /* trap_level == 0x170 --> ta 0x70 in kprobe_trap()
413 * trap_level == 0x171 --> ta 0x71 in kprobe_trap()
415 if (notify_die((trap_level == 0x170) ? DIE_DEBUG : DIE_DEBUG_2, in kprobe_trap()
416 (trap_level == 0x170) ? "debug" : "debug_2", in kprobe_trap()
417 regs, 0, trap_level, SIGTRAP) != NOTIFY_STOP) in kprobe_trap()
452 unsigned long orig_ret_address = 0; in trampoline_probe_handler()
488 return 0; in arch_trampoline_kprobe()