Lines Matching defs:insn
10 #include <asm/insn.h>
12 #include "../../../arch/x86/lib/insn.c"
76 unsigned long arch_jump_destination(struct instruction *insn)
78 return insn->offset + insn->len + insn->immediate;
135 static bool has_notrack_prefix(struct insn *insn)
139 for (i = 0; i < insn->prefixes.nbytes; i++) {
140 if (insn->prefixes.bytes[i] == 0x3e)
149 struct instruction *insn)
151 struct stack_op **ops_list = &insn->stack_ops;
153 struct insn ins;
174 insn->len = ins.length;
175 insn->type = INSN_OTHER;
256 insn->type = INSN_JUMP_CONDITIONAL;
489 insn->type = INSN_NOP;
517 insn->type = INSN_CONTEXT_SWITCH;
521 insn->type = INSN_CLAC;
523 insn->type = INSN_STAC;
528 insn->type = INSN_JUMP_CONDITIONAL;
534 insn->type = INSN_CONTEXT_SWITCH;
539 insn->type = INSN_BUG;
544 insn->type = INSN_NOP;
549 insn->type = INSN_ENDBR;
602 insn->type = INSN_TRAP;
607 insn->type = INSN_JUMP_CONDITIONAL;
612 insn->type = INSN_JUMP_UNCONDITIONAL;
617 insn->type = INSN_RETURN;
672 insn->type = INSN_CONTEXT_SWITCH;
678 insn->type = INSN_JUMP_CONDITIONAL;
682 insn->type = INSN_CALL;
694 insn->type = INSN_CLD;
698 insn->type = INSN_STD;
704 insn->type = INSN_CALL_DYNAMIC;
710 insn->type = INSN_JUMP_DYNAMIC;
717 insn->type = INSN_CONTEXT_SWITCH;
734 insn->immediate = ins.immediate.nbytes ? ins.immediate.value : 0;