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
161 static inline void insn_get_attribute(struct insn *insn) in insn_get_attribute()
169 static inline int insn_is_rex2(struct insn *insn) in insn_is_rex2()
176 static inline insn_byte_t insn_rex2_m_bit(struct insn *insn) in insn_rex2_m_bit()
181 static inline int insn_is_avx(struct insn *insn) in insn_is_avx()
188 static inline int insn_is_evex(struct insn *insn) in insn_is_evex()
195 static inline int insn_has_emulate_prefix(struct insn *insn) in insn_has_emulate_prefix()
200 static inline insn_byte_t insn_vex_m_bits(struct insn *insn) in insn_vex_m_bits()
210 static inline insn_byte_t insn_vex_p_bits(struct insn *insn) in insn_vex_p_bits()
218 static inline insn_byte_t insn_vex_w_bit(struct insn *insn) in insn_vex_w_bit()
226 static inline int insn_last_prefix_id(struct insn *insn) in insn_last_prefix_id()
238 static inline int insn_offset_rex_prefix(struct insn *insn) in insn_offset_rex_prefix()
242 static inline int insn_offset_vex_prefix(struct insn *insn) in insn_offset_vex_prefix()
246 static inline int insn_offset_opcode(struct insn *insn) in insn_offset_opcode()
250 static inline int insn_offset_modrm(struct insn *insn) in insn_offset_modrm()
254 static inline int insn_offset_sib(struct insn *insn) in insn_offset_sib()
258 static inline int insn_offset_displacement(struct insn *insn) in insn_offset_displacement()
262 static inline int insn_offset_immediate(struct insn *insn) in insn_offset_immediate()
279 #define for_each_insn_prefix(insn, idx, prefix) \ argument
293 static inline int insn_masking_exception(struct insn *insn) in insn_masking_exception()