Lines Matching defs:emulate
2958 static void __smp_text_poke_batch_add(void *addr, const void *opcode, size_t len, const void *emulate)
2969 if (!emulate)
2970 emulate = opcode;
2972 ret = insn_decode_kernel(&insn, emulate);
3016 case 2: /* NOP2 -- emulate as JMP8+0 */
3017 BUG_ON(memcmp(emulate, x86_nops[len], len));
3022 case 5: /* NOP5 -- emulate as JMP32+0 */
3023 BUG_ON(memcmp(emulate, x86_nops[len], len));
3063 * @emulate: instruction to be emulated
3071 void __ref smp_text_poke_batch_add(void *addr, const void *opcode, size_t len, const void *emulate)
3075 __smp_text_poke_batch_add(addr, opcode, len, emulate);
3083 * @emulate: instruction to be emulated
3090 void __ref smp_text_poke_single(void *addr, const void *opcode, size_t len, const void *emulate)
3092 smp_text_poke_batch_add(addr, opcode, len, emulate);