Home
last modified time | relevance | path

Searched refs:insn_byte_t (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/arch/x86/lib/
H A Dinat.c13 insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode) in inat_get_opcode_attribute()
18 int inat_get_last_prefix_id(insn_byte_t last_pfx) in inat_get_last_prefix_id()
26 insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, int lpfx_id, in inat_get_escape_attribute()
45 insn_attr_t inat_get_group_attribute(insn_byte_t modrm, int lpfx_id, in inat_get_group_attribute()
65 insn_attr_t inat_get_avx_attribute(insn_byte_t opcode, insn_byte_t vex_m, in inat_get_avx_attribute()
66 insn_byte_t vex_p) in inat_get_avx_attribute()
H A Dinsn.c82 static const insn_byte_t xen_prefix[] = { __XEN_EMULATE_PREFIX };
83 static const insn_byte_t kvm_prefix[] = { __KVM_EMULATE_PREFIX };
86 const insn_byte_t *prefix, size_t len) in __insn_get_emulate_prefix()
91 if (peek_nbyte_next(insn_byte_t, insn, i) != prefix[i]) in __insn_get_emulate_prefix()
128 insn_byte_t b, lb; in insn_get_prefixes()
138 b = peek_next(insn_byte_t, insn); in insn_get_prefixes()
163 b = peek_next(insn_byte_t, insn); in insn_get_prefixes()
180 b = peek_next(insn_byte_t, insn); in insn_get_prefixes()
193 b = peek_next(insn_byte_t, insn); in insn_get_prefixes()
196 insn_byte_t b2 = peek_nbyte_next(insn_byte_t, insn, 1); in insn_get_prefixes()
[all …]
H A Dinsn-eval.c64 insn_byte_t p; in insn_has_rep_prefix()
95 insn_byte_t p; in get_seg_reg_override_idx()
/openbmc/linux/tools/arch/x86/lib/
H A Dinat.c13 insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode) in inat_get_opcode_attribute()
18 int inat_get_last_prefix_id(insn_byte_t last_pfx) in inat_get_last_prefix_id()
26 insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, int lpfx_id, in inat_get_escape_attribute()
45 insn_attr_t inat_get_group_attribute(insn_byte_t modrm, int lpfx_id, in inat_get_group_attribute()
65 insn_attr_t inat_get_avx_attribute(insn_byte_t opcode, insn_byte_t vex_m, in inat_get_avx_attribute()
66 insn_byte_t vex_p) in inat_get_avx_attribute()
H A Dinsn.c82 static const insn_byte_t xen_prefix[] = { __XEN_EMULATE_PREFIX };
83 static const insn_byte_t kvm_prefix[] = { __KVM_EMULATE_PREFIX };
86 const insn_byte_t *prefix, size_t len) in __insn_get_emulate_prefix()
91 if (peek_nbyte_next(insn_byte_t, insn, i) != prefix[i]) in __insn_get_emulate_prefix()
128 insn_byte_t b, lb; in insn_get_prefixes()
138 b = peek_next(insn_byte_t, insn); in insn_get_prefixes()
163 b = peek_next(insn_byte_t, insn); in insn_get_prefixes()
180 b = peek_next(insn_byte_t, insn); in insn_get_prefixes()
193 b = peek_next(insn_byte_t, insn); in insn_get_prefixes()
196 insn_byte_t b2 = peek_nbyte_next(insn_byte_t, insn, 1); in insn_get_prefixes()
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dinsn.h19 insn_byte_t bytes[4];
34 insn_byte_t v) in insn_set_byte()
45 insn_byte_t bytes[4];
61 insn_byte_t v) in insn_set_byte()
100 const insn_byte_t *kaddr; /* kernel address of insn to analyze */
101 const insn_byte_t *end_kaddr; /* kernel address of last insn in buffer */
102 const insn_byte_t *next_byte;
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()
H A Dinat.h97 extern insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode);
98 extern int inat_get_last_prefix_id(insn_byte_t last_pfx);
99 extern insn_attr_t inat_get_escape_attribute(insn_byte_t opcode,
102 extern insn_attr_t inat_get_group_attribute(insn_byte_t modrm,
105 extern insn_attr_t inat_get_avx_attribute(insn_byte_t opcode,
106 insn_byte_t vex_m,
107 insn_byte_t vex_pp);
H A Dinat_types.h12 typedef unsigned char insn_byte_t; typedef
/openbmc/linux/tools/arch/x86/include/asm/
H A Dinsn.h19 insn_byte_t bytes[4];
34 insn_byte_t v) in insn_set_byte()
45 insn_byte_t bytes[4];
61 insn_byte_t v) in insn_set_byte()
100 const insn_byte_t *kaddr; /* kernel address of insn to analyze */
101 const insn_byte_t *end_kaddr; /* kernel address of last insn in buffer */
102 const insn_byte_t *next_byte;
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()
H A Dinat.h97 extern insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode);
98 extern int inat_get_last_prefix_id(insn_byte_t last_pfx);
99 extern insn_attr_t inat_get_escape_attribute(insn_byte_t opcode,
102 extern insn_attr_t inat_get_group_attribute(insn_byte_t modrm,
105 extern insn_attr_t inat_get_avx_attribute(insn_byte_t opcode,
106 insn_byte_t vex_m,
107 insn_byte_t vex_pp);
H A Dinat_types.h12 typedef unsigned char insn_byte_t; typedef
/openbmc/linux/arch/x86/kernel/
H A Duprobes.c258 insn_byte_t p; in is_prefix_bad()
719 insn_byte_t p; in branch_setup_xol_ops()
/openbmc/linux/arch/x86/kernel/kprobes/
H A Dcore.c143 insn_byte_t prefix; in can_boost()
603 insn_byte_t opcode = insn->opcode.bytes[0]; in prepare_emulation()
/openbmc/linux/arch/x86/boot/compressed/
H A Dsev.c37 insn_byte_t p; in insn_has_rep_prefix()