Lines Matching refs:X86EMUL_MODE_PROT64
521 if (ctxt->mode == X86EMUL_MODE_PROT64) in stack_mask()
575 if (ctxt->mode == X86EMUL_MODE_PROT64 && seg < VCPU_SREG_FS) in seg_base()
703 case X86EMUL_MODE_PROT64: in __linearize()
812 ctxt->mode = X86EMUL_MODE_PROT64; in emulator_recalc_and_set_mode()
1289 if (ctxt->mode == X86EMUL_MODE_PROT64) in decode_modrm()
1598 if (ctxt->mode != X86EMUL_MODE_PROT64 || rpl != cpl) in __load_segment_descriptor()
1731 } else if (ctxt->mode == X86EMUL_MODE_PROT64) { in __load_segment_descriptor()
1773 ctxt->mode == X86EMUL_MODE_PROT64) in load_segment_descriptor()
1881 case X86EMUL_MODE_PROT64: in emulate_popf()
2089 case X86EMUL_MODE_PROT64: in emulate_int()
2160 case X86EMUL_MODE_PROT64: in em_iret()
2377 if (ctxt->mode != X86EMUL_MODE_PROT64 && in em_syscall()
2404 ctxt->mode == X86EMUL_MODE_PROT64 ? in em_syscall()
2441 if ((ctxt->mode != X86EMUL_MODE_PROT64) && (efer & EFER_LMA) && in em_sysenter()
2446 if (ctxt->mode == X86EMUL_MODE_PROT64) in em_sysenter()
2472 ctxt->mode = X86EMUL_MODE_PROT64; in em_sysenter()
2493 usermode = X86EMUL_MODE_PROT64; in em_sysexit()
2512 case X86EMUL_MODE_PROT64: in em_sysexit()
3300 if (ctxt->mode == X86EMUL_MODE_PROT64) in em_dr_write()
3461 if (ctxt->mode == X86EMUL_MODE_PROT64) in emulate_store_desc_ptr()
3489 if (ctxt->mode == X86EMUL_MODE_PROT64) in em_lgdt_lidt()
3496 if (ctxt->mode == X86EMUL_MODE_PROT64 && in em_lgdt_lidt()
3683 if (ctxt->mode >= X86EMUL_MODE_PROT64) in check_fxsr()
3701 if (ctxt->mode == X86EMUL_MODE_PROT64) in fxstate_size()
4768 case X86EMUL_MODE_PROT64: in x86_decode_insn()
4789 if (mode == X86EMUL_MODE_PROT64) in x86_decode_insn()
4821 if (mode != X86EMUL_MODE_PROT64) in x86_decode_insn()
4869 (mode == X86EMUL_MODE_PROT64 || (ctxt->modrm & 0xc0) == 0xc0)) { in x86_decode_insn()
4919 if (ctxt->mode == X86EMUL_MODE_PROT64) in x86_decode_insn()
4957 if (mode == X86EMUL_MODE_PROT64) { in x86_decode_insn()
4965 if (mode == X86EMUL_MODE_PROT64) in x86_decode_insn()
5126 if ((ctxt->mode == X86EMUL_MODE_PROT64 && (ctxt->d & No64)) || in x86_emulate_insn()
5385 if (ctxt->mode != X86EMUL_MODE_PROT64) in x86_emulate_insn()