Lines Matching refs:opcode
272 void *text_poke_early(void *addr, const void *opcode, size_t len);
277 static inline bool is_jmp(const u8 opcode) in is_jmp() argument
279 return opcode == 0xeb || opcode == 0xe9; in is_jmp()
663 void *__init_or_module text_poke_early(void *addr, const void *opcode, in text_poke_early() argument
668 memcpy(addr, opcode, len); in text_poke_early()
689 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() argument
710 memcpy(&vaddr[(unsigned long)addr & ~PAGE_MASK], opcode, len); in text_poke()
719 BUG_ON(((char *)addr)[i] != ((char *)opcode)[i]); in text_poke()
772 void *text_poke_bp(void *addr, const void *opcode, size_t len, void *handler) in text_poke_bp() argument
793 (const char *) opcode + sizeof(int3), in text_poke_bp()
804 text_poke(addr, opcode, sizeof(int3)); in text_poke_bp()