Lines Matching refs:opcode
42 kprobe_opcode_t opcode = *(kprobe_opcode_t *) (p->addr); in arch_prepare_kprobe() local
44 if (OPCODE_RTE(opcode)) in arch_prepare_kprobe()
47 p->opcode = opcode; in arch_prepare_kprobe()
55 p->opcode = *p->addr; in arch_copy_kprobe()
67 *p->addr = p->opcode; in arch_disarm_kprobe()
109 saved->opcode = 0; in arch_remove_kprobe()
116 saved->opcode = 0; in arch_remove_kprobe()
156 if (OPCODE_JSR(p->opcode) || OPCODE_JMP(p->opcode)) { in prepare_singlestep()
157 unsigned int reg_nr = ((p->opcode >> 8) & 0x000F); in prepare_singlestep()
159 } else if (OPCODE_BRA(p->opcode) || OPCODE_BSR(p->opcode)) { in prepare_singlestep()
160 unsigned long disp = (p->opcode & 0x0FFF); in prepare_singlestep()
164 } else if (OPCODE_BRAF(p->opcode) || OPCODE_BSRF(p->opcode)) { in prepare_singlestep()
165 unsigned int reg_nr = ((p->opcode >> 8) & 0x000F); in prepare_singlestep()
170 } else if (OPCODE_RTS(p->opcode)) { in prepare_singlestep()
173 } else if (OPCODE_BF(p->opcode) || OPCODE_BT(p->opcode)) { in prepare_singlestep()
174 unsigned long disp = (p->opcode & 0x00FF); in prepare_singlestep()
180 op2->opcode = *(op2->addr); in prepare_singlestep()
183 } else if (OPCODE_BF_S(p->opcode) || OPCODE_BT_S(p->opcode)) { in prepare_singlestep()
184 unsigned long disp = (p->opcode & 0x00FF); in prepare_singlestep()
190 op2->opcode = *(op2->addr); in prepare_singlestep()
197 op1->opcode = *(op1->addr); in prepare_singlestep()
330 p->opcode = 0; in post_kprobe_handler()
342 p->opcode = 0; in post_kprobe_handler()