Lines Matching refs:api
58 p->ainsn.api.restore = (unsigned long)p->addr + offset; in arch_prepare_ss_slot()
60 patch_text(p->ainsn.api.insn, p->opcode); in arch_prepare_ss_slot()
65 p->ainsn.api.restore = 0; in arch_prepare_simulate()
72 if (p->ainsn.api.handler) in arch_simulate_insn()
73 p->ainsn.api.handler((u32)p->opcode, (long)p->addr, regs); in arch_simulate_insn()
89 switch (csky_probe_decode_insn(p->addr, &p->ainsn.api)) { in arch_prepare_kprobe()
94 p->ainsn.api.insn = NULL; in arch_prepare_kprobe()
98 p->ainsn.api.insn = get_insn_slot(); in arch_prepare_kprobe()
99 if (!p->ainsn.api.insn) in arch_prepare_kprobe()
105 if (p->ainsn.api.insn) in arch_prepare_kprobe()
127 if (p->ainsn.api.insn) { in arch_remove_kprobe()
128 free_insn_slot(p->ainsn.api.insn, 0); in arch_remove_kprobe()
129 p->ainsn.api.insn = NULL; in arch_remove_kprobe()
204 if (p->ainsn.api.insn) { in setup_singlestep()
206 slot = (unsigned long)p->ainsn.api.insn; in setup_singlestep()
253 if (cur->ainsn.api.restore != 0) in post_kprobe_handler()
254 regs->pc = cur->ainsn.api.restore; in post_kprobe_handler()