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

/linux-4.4.14/arch/x86/kvm/
H A Dx86.c75 #define emul_to_vcpu(ctxt) \ macro
4187 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_fetch_guest_virt()
4213 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_read_guest_virt()
4225 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_read_guest_virt_system()
4232 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_read_guest_phys_system()
4243 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_write_guest_virt_system()
4438 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_read_write()
4523 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_cmpxchg_emulated()
4624 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_pio_in_emulated()
4646 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_pio_out_emulated()
4660 kvm_mmu_invlpg(emul_to_vcpu(ctxt), address); emulator_invlpg()
4692 kvm_emulate_wbinvd_noskip(emul_to_vcpu(ctxt)); emulator_wbinvd()
4698 return kvm_get_dr(emul_to_vcpu(ctxt), dr, dest); emulator_get_dr()
4705 return __kvm_set_dr(emul_to_vcpu(ctxt), dr, value); emulator_set_dr()
4715 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_get_cr()
4744 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_set_cr()
4773 return kvm_x86_ops->get_cpl(emul_to_vcpu(ctxt)); emulator_get_cpl()
4778 kvm_x86_ops->get_gdt(emul_to_vcpu(ctxt), dt); emulator_get_gdt()
4783 kvm_x86_ops->get_idt(emul_to_vcpu(ctxt), dt); emulator_get_idt()
4788 kvm_x86_ops->set_gdt(emul_to_vcpu(ctxt), dt); emulator_set_gdt()
4793 kvm_x86_ops->set_idt(emul_to_vcpu(ctxt), dt); emulator_set_idt()
4799 return get_segment_base(emul_to_vcpu(ctxt), seg); emulator_get_cached_segment_base()
4808 kvm_get_segment(emul_to_vcpu(ctxt), &var, seg); emulator_get_segment()
4840 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_set_segment()
4874 r = kvm_get_msr(emul_to_vcpu(ctxt), &msr); emulator_get_msr()
4890 return kvm_set_msr(emul_to_vcpu(ctxt), &msr); emulator_set_msr()
4895 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_get_smbase()
4902 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_set_smbase()
4910 return kvm_pmu_is_valid_msr_idx(emul_to_vcpu(ctxt), pmc); emulator_check_pmc()
4916 return kvm_pmu_rdpmc(emul_to_vcpu(ctxt), pmc, pdata); emulator_read_pmc()
4921 emul_to_vcpu(ctxt)->arch.halt_request = 1; emulator_halt()
4927 kvm_load_guest_fpu(emul_to_vcpu(ctxt)); emulator_get_fpu()
4944 return kvm_x86_ops->check_intercept(emul_to_vcpu(ctxt), info, stage); emulator_intercept()
4950 kvm_cpuid(emul_to_vcpu(ctxt), eax, ebx, ecx, edx); emulator_get_cpuid()
4955 return kvm_register_read(emul_to_vcpu(ctxt), reg); emulator_read_gpr()
4960 kvm_register_write(emul_to_vcpu(ctxt), reg, val); emulator_write_gpr()
4965 kvm_x86_ops->set_nmi_mask(emul_to_vcpu(ctxt), masked); emulator_set_nmi_mask()
5184 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); retry_instruction()
5936 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_fix_hypercall()

Completed in 81 milliseconds