Lines Matching refs:opcode
159 kprobe_opcode_t opcode; in can_boost() local
165 if (insn->opcode.nbytes == 2) in can_boost()
166 return test_bit(insn->opcode.bytes[1], in can_boost()
169 if (insn->opcode.nbytes != 1) in can_boost()
176 opcode = insn->opcode.bytes[0]; in can_boost()
178 switch (opcode & 0xf0) { in can_boost()
181 return (opcode != 0x62); in can_boost()
185 return opcode != 0x9a; /* can't boost call far */ in can_boost()
188 return (0xc1 < opcode && opcode < 0xcc) || opcode == 0xcf; in can_boost()
191 return (opcode == 0xd4 || opcode == 0xd5 || opcode == 0xd7); in can_boost()
194 return ((opcode & 0x04) || opcode == 0xea); in can_boost()
197 return (opcode == 0xf5 || (0xf7 < opcode && opcode < 0xfe)); in can_boost()
200 return (opcode != 0x2e && opcode != 0x9a); in can_boost()
252 buf[0] = kp->opcode; in __recover_probed_insn()
304 if (insn.opcode.bytes[0] == BREAKPOINT_INSTRUCTION) in can_probe()
355 if (insn->opcode.bytes[0] == BREAKPOINT_INSTRUCTION) in __copy_instruction()
467 p->opcode = buf[0]; in arch_copy_kprobe()
505 text_poke(p->addr, &p->opcode, 1); in arch_disarm_kprobe()
608 if (p->opcode == BREAKPOINT_INSTRUCTION) in setup_singlestep()