Home
last modified time | relevance | path

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

/linux-6.6.21/tools/arch/x86/lib/ !
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()
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 …]
/linux-6.6.21/arch/x86/lib/ !
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()
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 …]
Dinsn-eval.c64 insn_byte_t p; in insn_has_rep_prefix()
95 insn_byte_t p; in get_seg_reg_override_idx()
/linux-6.6.21/tools/arch/x86/include/asm/ !
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()
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);
Dinat_types.h12 typedef unsigned char insn_byte_t; typedef
/linux-6.6.21/arch/x86/include/asm/ !
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()
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);
Dinat_types.h12 typedef unsigned char insn_byte_t; typedef
/linux-6.6.21/arch/x86/kernel/ !
Duprobes.c258 insn_byte_t p; in is_prefix_bad()
719 insn_byte_t p; in branch_setup_xol_ops()
/linux-6.6.21/arch/x86/boot/compressed/ !
Dsev.c37 insn_byte_t p; in insn_has_rep_prefix()
/linux-6.6.21/arch/x86/kernel/kprobes/ !
Dcore.c143 insn_byte_t prefix; in can_boost()
594 insn_byte_t opcode = insn->opcode.bytes[0]; in prepare_emulation()