Lines Matching refs:api
46 kprobe_opcode_t *addr = p->ainsn.api.insn; in arch_prepare_ss_slot()
73 p->ainsn.api.restore = (unsigned long) p->addr + in arch_prepare_ss_slot()
80 p->ainsn.api.restore = 0; in arch_prepare_simulate()
87 if (p->ainsn.api.handler) in arch_simulate_insn()
88 p->ainsn.api.handler((u32)p->opcode, (long)p->addr, regs); in arch_simulate_insn()
113 p->ainsn.api.insn = NULL; in arch_prepare_kprobe()
117 p->ainsn.api.insn = get_insn_slot(); in arch_prepare_kprobe()
118 if (!p->ainsn.api.insn) in arch_prepare_kprobe()
124 if (p->ainsn.api.insn) in arch_prepare_kprobe()
151 if (p->ainsn.api.insn) { in arch_remove_kprobe()
152 free_insn_slot(p->ainsn.api.insn, 0); in arch_remove_kprobe()
153 p->ainsn.api.insn = NULL; in arch_remove_kprobe()
208 if (p->ainsn.api.insn) { in setup_singlestep()
210 slot = (unsigned long)p->ainsn.api.insn; in setup_singlestep()
248 if (cur->ainsn.api.restore != 0) in post_kprobe_handler()
249 instruction_pointer_set(regs, cur->ainsn.api.restore); in post_kprobe_handler()
351 ((unsigned long)&cur->ainsn.api.insn[1] == addr)) { in kprobe_breakpoint_ss_handler()