Lines Matching refs:x86_emulate_ctxt

543 	unsigned int useroffset = offsetof(struct x86_emulate_ctxt, src);
544 unsigned int size = sizeof(struct x86_emulate_ctxt);
547 __alignof__(struct x86_emulate_ctxt),
552 static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt);
7641 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt,
7686 static int emulator_read_std(struct x86_emulate_ctxt *ctxt,
7731 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val,
7931 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt;
7972 static int emulator_read_write(struct x86_emulate_ctxt *ctxt,
8026 static int emulator_read_emulated(struct x86_emulate_ctxt *ctxt,
8036 static int emulator_write_emulated(struct x86_emulate_ctxt *ctxt,
8049 static int emulator_cmpxchg_emulated(struct x86_emulate_ctxt *ctxt,
8202 static int emulator_pio_in_emulated(struct x86_emulate_ctxt *ctxt,
8230 static int emulator_pio_out_emulated(struct x86_emulate_ctxt *ctxt,
8242 static void emulator_invlpg(struct x86_emulate_ctxt *ctxt, ulong address)
8274 static void emulator_wbinvd(struct x86_emulate_ctxt *ctxt)
8279 static unsigned long emulator_get_dr(struct x86_emulate_ctxt *ctxt, int dr)
8284 static int emulator_set_dr(struct x86_emulate_ctxt *ctxt, int dr,
8296 static unsigned long emulator_get_cr(struct x86_emulate_ctxt *ctxt, int cr)
8325 static int emulator_set_cr(struct x86_emulate_ctxt *ctxt, int cr, ulong val)
8354 static int emulator_get_cpl(struct x86_emulate_ctxt *ctxt)
8359 static void emulator_get_gdt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt)
8364 static void emulator_get_idt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt)
8369 static void emulator_set_gdt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt)
8374 static void emulator_set_idt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt)
8380 struct x86_emulate_ctxt *ctxt, int seg)
8385 static bool emulator_get_segment(struct x86_emulate_ctxt *ctxt, u16 *selector,
8421 static void emulator_set_segment(struct x86_emulate_ctxt *ctxt, u16 selector,
8451 static int emulator_get_msr_with_filter(struct x86_emulate_ctxt *ctxt,
8474 static int emulator_set_msr_with_filter(struct x86_emulate_ctxt *ctxt,
8497 static int emulator_get_msr(struct x86_emulate_ctxt *ctxt,
8503 static int emulator_check_rdpmc_early(struct x86_emulate_ctxt *ctxt, u32 pmc)
8508 static int emulator_read_pmc(struct x86_emulate_ctxt *ctxt,
8514 static void emulator_halt(struct x86_emulate_ctxt *ctxt)
8519 static int emulator_intercept(struct x86_emulate_ctxt *ctxt,
8527 static bool emulator_get_cpuid(struct x86_emulate_ctxt *ctxt,
8534 static bool emulator_guest_has_movbe(struct x86_emulate_ctxt *ctxt)
8539 static bool emulator_guest_has_fxsr(struct x86_emulate_ctxt *ctxt)
8544 static bool emulator_guest_has_rdpid(struct x86_emulate_ctxt *ctxt)
8549 static bool emulator_guest_cpuid_is_intel_compatible(struct x86_emulate_ctxt *ctxt)
8554 static ulong emulator_read_gpr(struct x86_emulate_ctxt *ctxt, unsigned reg)
8559 static void emulator_write_gpr(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val)
8564 static void emulator_set_nmi_mask(struct x86_emulate_ctxt *ctxt, bool masked)
8569 static bool emulator_is_smm(struct x86_emulate_ctxt *ctxt)
8574 static bool emulator_is_guest_mode(struct x86_emulate_ctxt *ctxt)
8580 static int emulator_leave_smm(struct x86_emulate_ctxt *ctxt)
8587 static void emulator_triple_fault(struct x86_emulate_ctxt *ctxt)
8592 static int emulator_set_xcr(struct x86_emulate_ctxt *ctxt, u32 index, u64 xcr)
8597 static void emulator_vm_bugged(struct x86_emulate_ctxt *ctxt)
8605 static gva_t emulator_get_untagged_addr(struct x86_emulate_ctxt *ctxt,
8684 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt;
8695 static struct x86_emulate_ctxt *alloc_emulate_ctxt(struct kvm_vcpu *vcpu)
8697 struct x86_emulate_ctxt *ctxt;
8714 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt;
8740 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt;
8812 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt;
9028 static bool is_vmware_backdoor_opcode(struct x86_emulate_ctxt *ctxt)
9072 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt;
9090 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt;
10126 static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt)
11837 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt;