Lines Matching refs:to_svm
268 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_efer()
326 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_interrupt_shadow()
336 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_interrupt_shadow()
347 struct vcpu_svm *svm = to_svm(vcpu); in svm_skip_emulated_instruction()
376 struct vcpu_svm *svm = to_svm(vcpu); in svm_queue_exception()
631 struct vcpu_svm *svm = to_svm(vcpu); in set_shadow_msr_intercept()
661 msrpm = is_guest_mode(vcpu) ? to_svm(vcpu)->nested.msrpm: in msr_write_intercepted()
662 to_svm(vcpu)->msrpm; in msr_write_intercepted()
676 struct vcpu_svm *svm = to_svm(vcpu); in set_msr_interception_bitmap()
751 struct vcpu_svm *svm = to_svm(vcpu); in svm_msr_filter_changed()
824 struct vcpu_svm *svm = to_svm(vcpu); in svm_enable_lbrv()
839 struct vcpu_svm *svm = to_svm(vcpu); in svm_disable_lbrv()
888 struct vcpu_svm *svm = to_svm(vcpu); in svm_update_lbrv()
924 struct vcpu_svm *svm = to_svm(vcpu); in grow_ple_window()
945 struct vcpu_svm *svm = to_svm(vcpu); in shrink_ple_window()
997 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_l2_tsc_offset()
1004 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_l2_tsc_multiplier()
1011 struct vcpu_svm *svm = to_svm(vcpu); in svm_write_tsc_offset()
1050 struct vcpu_svm *svm = to_svm(vcpu); in init_vmcb_after_set_cpuid()
1084 struct vcpu_svm *svm = to_svm(vcpu); in init_vmcb()
1232 struct vcpu_svm *svm = to_svm(vcpu); in __svm_vcpu_reset()
1246 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_reset()
1271 svm = to_svm(vcpu); in svm_vcpu_create()
1336 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_free()
1355 struct vcpu_svm *svm = to_svm(vcpu); in svm_prepare_switch_to_guest()
1387 to_svm(vcpu)->guest_state_loaded = false; in svm_prepare_host_switch()
1392 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_load()
1415 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_rflags()
1430 if (to_svm(vcpu)->nmi_singlestep) in svm_set_rflags()
1438 to_svm(vcpu)->vmcb->save.rflags = rflags; in svm_set_rflags()
1443 struct vmcb *vmcb = to_svm(vcpu)->vmcb; in svm_get_if_flag()
1514 struct vmcb_save_area *save = &to_svm(vcpu)->vmcb->save; in svm_seg()
1515 struct vmcb_save_area *save01 = &to_svm(vcpu)->vmcb01.ptr->save; in svm_seg()
1602 var->dpl = to_svm(vcpu)->vmcb->save.cpl; in svm_get_segment()
1609 struct vmcb_save_area *save = &to_svm(vcpu)->vmcb->save; in svm_get_cpl()
1625 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_idt()
1633 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_idt()
1642 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_gdt()
1650 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_gdt()
1659 struct vcpu_svm *svm = to_svm(vcpu); in sev_post_set_cr3()
1677 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_cr0()
1751 to_svm(vcpu)->vmcb->save.cr4 = cr4; in svm_set_cr4()
1752 vmcb_mark_dirty(to_svm(vcpu)->vmcb, VMCB_CR); in svm_set_cr4()
1761 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_segment()
1791 struct vcpu_svm *svm = to_svm(vcpu); in svm_update_exception_bitmap()
1829 struct vcpu_svm *svm = to_svm(vcpu); in svm_sync_dirty_debug_regs()
1850 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_dr7()
1861 struct vcpu_svm *svm = to_svm(vcpu); in pf_interception()
1874 struct vcpu_svm *svm = to_svm(vcpu); in npf_interception()
1889 struct vcpu_svm *svm = to_svm(vcpu); in db_interception()
1921 struct vcpu_svm *svm = to_svm(vcpu); in bp_interception()
2009 struct vcpu_svm *svm = to_svm(vcpu); in shutdown_interception()
2035 struct vcpu_svm *svm = to_svm(vcpu); in io_interception()
2076 struct vcpu_svm *svm = to_svm(vcpu); in vmload_vmsave_interception()
2167 struct vcpu_svm *svm = to_svm(vcpu); in emulate_svm_instr()
2190 struct vcpu_svm *svm = to_svm(vcpu); in gp_interception()
2268 svm_set_gif(to_svm(vcpu), true); in stgi_interception()
2280 svm_set_gif(to_svm(vcpu), false); in clgi_interception()
2293 trace_kvm_invlpga(to_svm(vcpu)->vmcb->save.rip, asid, gva); in invlpga_interception()
2303 trace_kvm_skinit(to_svm(vcpu)->vmcb->save.rip, kvm_rax_read(vcpu)); in skinit_interception()
2311 struct vcpu_svm *svm = to_svm(vcpu); in task_switch_interception()
2376 struct vcpu_svm *svm = to_svm(vcpu); in iret_interception()
2393 kvm_mmu_invlpg(vcpu, to_svm(vcpu)->vmcb->control.exit_info_1); in invlpg_interception()
2410 struct vcpu_svm *svm = to_svm(vcpu); in check_selective_cr0_intercepted()
2433 struct vcpu_svm *svm = to_svm(vcpu); in cr_interception()
2507 struct vcpu_svm *svm = to_svm(vcpu); in cr_trap()
2542 struct vcpu_svm *svm = to_svm(vcpu); in dr_interception()
2603 msr_info.data = to_svm(vcpu)->vmcb->control.exit_info_1 & ~EFER_SVME; in efer_trap()
2629 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_msr()
2728 struct vcpu_svm *svm = to_svm(vcpu); in svm_complete_emulated_msr()
2742 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_vm_cr()
2767 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_msr()
2972 if (to_svm(vcpu)->vmcb->control.exit_info_1) in msr_interception()
2981 svm_clear_vintr(to_svm(vcpu)); in interrupt_window_interception()
3019 struct vcpu_svm *svm = to_svm(vcpu); in invpcid_interception()
3115 struct vcpu_svm *svm = to_svm(vcpu); in dump_vmcb()
3278 struct vmcb_control_area *control = &to_svm(vcpu)->vmcb->control; in svm_get_exit_info()
3293 struct vcpu_svm *svm = to_svm(vcpu); in svm_handle_exit()
3356 struct vcpu_svm *svm = to_svm(vcpu); in pre_svm_run()
3379 struct vcpu_svm *svm = to_svm(vcpu); in svm_inject_nmi()
3390 struct vcpu_svm *svm = to_svm(vcpu); in svm_inject_irq()
3450 struct vcpu_svm *svm = to_svm(vcpu); in svm_update_cr8_intercept()
3473 struct vcpu_svm *svm = to_svm(vcpu); in svm_nmi_blocked()
3491 struct vcpu_svm *svm = to_svm(vcpu); in svm_nmi_allowed()
3511 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_nmi_mask()
3526 struct vcpu_svm *svm = to_svm(vcpu); in svm_interrupt_blocked()
3552 struct vcpu_svm *svm = to_svm(vcpu); in svm_interrupt_allowed()
3572 struct vcpu_svm *svm = to_svm(vcpu); in svm_enable_irq_window()
3602 struct vcpu_svm *svm = to_svm(vcpu); in svm_enable_nmi_window()
3624 struct vcpu_svm *svm = to_svm(vcpu); in svm_flush_tlb_current()
3641 struct vcpu_svm *svm = to_svm(vcpu); in svm_flush_tlb_gva()
3648 struct vcpu_svm *svm = to_svm(vcpu); in sync_cr8_to_lapic()
3661 struct vcpu_svm *svm = to_svm(vcpu); in sync_lapic_to_cr8()
3675 struct vcpu_svm *svm = to_svm(vcpu); in svm_complete_interrupts()
3753 struct vcpu_svm *svm = to_svm(vcpu); in svm_cancel_injection()
3769 if (to_svm(vcpu)->vmcb->control.exit_code == SVM_EXIT_MSR && in svm_exit_handlers_fastpath()
3770 to_svm(vcpu)->vmcb->control.exit_info_1) in svm_exit_handlers_fastpath()
3778 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_enter_exit()
3806 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_run()
3954 struct vcpu_svm *svm = to_svm(vcpu); in svm_load_mmu_pgd()
4032 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_after_set_cpuid()
4151 struct vcpu_svm *svm = to_svm(vcpu); in svm_check_intercept()
4268 if (to_svm(vcpu)->vmcb->control.exit_code == SVM_EXIT_INTR) in svm_handle_exit_irqoff()
4286 struct vcpu_svm *svm = to_svm(vcpu); in svm_smi_blocked()
4297 struct vcpu_svm *svm = to_svm(vcpu); in svm_smi_allowed()
4313 struct vcpu_svm *svm = to_svm(vcpu); in svm_enter_smm()
4360 struct vcpu_svm *svm = to_svm(vcpu); in svm_leave_smm()
4423 struct vcpu_svm *svm = to_svm(vcpu); in svm_enable_smi_window()
4526 error_code = to_svm(vcpu)->vmcb->control.exit_info_1; in svm_can_emulate_instruction()
4573 struct vcpu_svm *svm = to_svm(vcpu); in svm_apic_init_signal_blocked()