Lines Matching defs:insn
68 struct insn { struct
69 struct insn_field prefixes; /* argument
73 struct insn_field rex_prefix; /* REX prefix */ argument
74 struct insn_field vex_prefix; /* VEX prefix */ argument
75 struct insn_field opcode; /* argument
80 struct insn_field modrm; argument
81 struct insn_field sib; argument
82 struct insn_field displacement; argument
94 insn_attr_t attr; argument
100 const insn_byte_t *kaddr; /* kernel address of insn to analyze */ argument
101 const insn_byte_t *end_kaddr; /* kernel address of last insn in buffer */ argument
102 const insn_byte_t *next_byte; argument
156 static inline void insn_get_attribute(struct insn *insn) in insn_get_attribute()
164 static inline int insn_is_avx(struct insn *insn) in insn_is_avx()
171 static inline int insn_is_evex(struct insn *insn) in insn_is_evex()
178 static inline int insn_has_emulate_prefix(struct insn *insn) in insn_has_emulate_prefix()
183 static inline insn_byte_t insn_vex_m_bits(struct insn *insn) in insn_vex_m_bits()
193 static inline insn_byte_t insn_vex_p_bits(struct insn *insn) in insn_vex_p_bits()
202 static inline int insn_last_prefix_id(struct insn *insn) in insn_last_prefix_id()
214 static inline int insn_offset_rex_prefix(struct insn *insn) in insn_offset_rex_prefix()
218 static inline int insn_offset_vex_prefix(struct insn *insn) in insn_offset_vex_prefix()
222 static inline int insn_offset_opcode(struct insn *insn) in insn_offset_opcode()
226 static inline int insn_offset_modrm(struct insn *insn) in insn_offset_modrm()
230 static inline int insn_offset_sib(struct insn *insn) in insn_offset_sib()
234 static inline int insn_offset_displacement(struct insn *insn) in insn_offset_displacement()
238 static inline int insn_offset_immediate(struct insn *insn) in insn_offset_immediate()
255 #define for_each_insn_prefix(insn, idx, prefix) \ argument
269 static inline int insn_masking_exception(struct insn *insn) in insn_masking_exception()