Searched refs:emul_to_vcpu (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/x86/kvm/
H A Dx86.c72 #define emul_to_vcpu(ctxt) \ macro
4278 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_fetch_guest_virt()
4304 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_read_guest_virt()
4316 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_read_guest_virt_system()
4325 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_write_guest_virt_system()
4520 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_read_write()
4605 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_cmpxchg_emulated()
4706 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_pio_in_emulated()
4728 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_pio_out_emulated()
4742 kvm_mmu_invlpg(emul_to_vcpu(ctxt), address); emulator_invlpg()
4774 kvm_emulate_wbinvd_noskip(emul_to_vcpu(ctxt)); emulator_wbinvd()
4780 return kvm_get_dr(emul_to_vcpu(ctxt), dr, dest); emulator_get_dr()
4787 return __kvm_set_dr(emul_to_vcpu(ctxt), dr, value); emulator_set_dr()
4797 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_get_cr()
4826 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_set_cr()
4855 return kvm_x86_ops->get_cpl(emul_to_vcpu(ctxt)); emulator_get_cpl()
4860 kvm_x86_ops->get_gdt(emul_to_vcpu(ctxt), dt); emulator_get_gdt()
4865 kvm_x86_ops->get_idt(emul_to_vcpu(ctxt), dt); emulator_get_idt()
4870 kvm_x86_ops->set_gdt(emul_to_vcpu(ctxt), dt); emulator_set_gdt()
4875 kvm_x86_ops->set_idt(emul_to_vcpu(ctxt), dt); emulator_set_idt()
4881 return get_segment_base(emul_to_vcpu(ctxt), seg); emulator_get_cached_segment_base()
4890 kvm_get_segment(emul_to_vcpu(ctxt), &var, seg); emulator_get_segment()
4922 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_set_segment()
4951 return kvm_get_msr(emul_to_vcpu(ctxt), msr_index, pdata); emulator_get_msr()
4962 return kvm_set_msr(emul_to_vcpu(ctxt), &msr); emulator_set_msr()
4968 return kvm_pmu_check_pmc(emul_to_vcpu(ctxt), pmc); emulator_check_pmc()
4974 return kvm_pmu_read_pmc(emul_to_vcpu(ctxt), pmc, pdata); emulator_read_pmc()
4979 emul_to_vcpu(ctxt)->arch.halt_request = 1; emulator_halt()
4985 kvm_load_guest_fpu(emul_to_vcpu(ctxt)); emulator_get_fpu()
5002 return kvm_x86_ops->check_intercept(emul_to_vcpu(ctxt), info, stage); emulator_intercept()
5008 kvm_cpuid(emul_to_vcpu(ctxt), eax, ebx, ecx, edx); emulator_get_cpuid()
5013 return kvm_register_read(emul_to_vcpu(ctxt), reg); emulator_read_gpr()
5018 kvm_register_write(emul_to_vcpu(ctxt), reg, val); emulator_write_gpr()
5023 kvm_x86_ops->set_nmi_mask(emul_to_vcpu(ctxt), masked); emulator_set_nmi_mask()
5236 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); retry_instruction()
6017 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_fix_hypercall()

Completed in 74 milliseconds