Lines Matching defs:svm
268 static void recalc_intercepts(struct vcpu_svm *svm) in recalc_intercepts()
288 static inline struct vmcb *get_host_vmcb(struct vcpu_svm *svm) in get_host_vmcb()
296 static inline void set_cr_intercept(struct vcpu_svm *svm, int bit) in set_cr_intercept()
305 static inline void clr_cr_intercept(struct vcpu_svm *svm, int bit) in clr_cr_intercept()
314 static inline bool is_cr_intercept(struct vcpu_svm *svm, int bit) in is_cr_intercept()
321 static inline void set_dr_intercepts(struct vcpu_svm *svm) in set_dr_intercepts()
345 static inline void clr_dr_intercepts(struct vcpu_svm *svm) in clr_dr_intercepts()
354 static inline void set_exception_intercept(struct vcpu_svm *svm, int bit) in set_exception_intercept()
363 static inline void clr_exception_intercept(struct vcpu_svm *svm, int bit) in clr_exception_intercept()
372 static inline void set_intercept(struct vcpu_svm *svm, int bit) in set_intercept()
381 static inline void clr_intercept(struct vcpu_svm *svm, int bit) in clr_intercept()
390 static inline void enable_gif(struct vcpu_svm *svm) in enable_gif()
395 static inline void disable_gif(struct vcpu_svm *svm) in disable_gif()
400 static inline bool gif_set(struct vcpu_svm *svm) in gif_set()
506 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_interrupt_shadow() local
516 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_interrupt_shadow() local
527 struct vcpu_svm *svm = to_svm(vcpu); in skip_emulated_instruction() local
552 struct vcpu_svm *svm = to_svm(vcpu); in svm_queue_exception() local
879 static void svm_enable_lbrv(struct vcpu_svm *svm) in svm_enable_lbrv()
890 static void svm_disable_lbrv(struct vcpu_svm *svm) in svm_disable_lbrv()
994 struct vcpu_svm *svm = to_svm(vcpu); in svm_read_tsc_offset() local
1001 struct vcpu_svm *svm = to_svm(vcpu); in svm_write_tsc_offset() local
1020 struct vcpu_svm *svm = to_svm(vcpu); in svm_adjust_tsc_offset_guest() local
1033 static void init_vmcb(struct vcpu_svm *svm) in init_vmcb()
1150 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_reset() local
1171 struct vcpu_svm *svm; in svm_create_vcpu() local
1239 struct vcpu_svm *svm = to_svm(vcpu); in svm_free_vcpu() local
1256 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_load() local
1290 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_put() local
1335 static void svm_set_vintr(struct vcpu_svm *svm) in svm_set_vintr()
1340 static void svm_clear_vintr(struct vcpu_svm *svm) in svm_clear_vintr()
1448 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_idt() local
1456 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_idt() local
1465 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_gdt() local
1473 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_gdt() local
1492 static void update_cr0_intercept(struct vcpu_svm *svm) in update_cr0_intercept()
1516 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_cr0() local
1573 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_segment() local
1603 struct vcpu_svm *svm = to_svm(vcpu); in update_bp_intercept() local
1614 static void new_asid(struct vcpu_svm *svm, struct svm_cpu_data *sd) in new_asid()
1635 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_dr6() local
1643 struct vcpu_svm *svm = to_svm(vcpu); in svm_sync_dirty_debug_regs() local
1658 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_dr7() local
1664 static int pf_interception(struct vcpu_svm *svm) in pf_interception()
1697 static int db_interception(struct vcpu_svm *svm) in db_interception()
1727 static int bp_interception(struct vcpu_svm *svm) in bp_interception()
1737 static int ud_interception(struct vcpu_svm *svm) in ud_interception()
1749 static int ac_interception(struct vcpu_svm *svm) in ac_interception()
1757 struct vcpu_svm *svm = to_svm(vcpu); in svm_fpu_activate() local
1765 static int nm_interception(struct vcpu_svm *svm) in nm_interception()
1810 static void svm_handle_mce(struct vcpu_svm *svm) in svm_handle_mce()
1835 static int mc_interception(struct vcpu_svm *svm) in mc_interception()
1840 static int shutdown_interception(struct vcpu_svm *svm) in shutdown_interception()
1855 static int io_interception(struct vcpu_svm *svm) in io_interception()
1876 static int nmi_interception(struct vcpu_svm *svm) in nmi_interception()
1881 static int intr_interception(struct vcpu_svm *svm) in intr_interception()
1887 static int nop_on_interception(struct vcpu_svm *svm) in nop_on_interception()
1892 static int halt_interception(struct vcpu_svm *svm) in halt_interception()
1898 static int vmmcall_interception(struct vcpu_svm *svm) in vmmcall_interception()
1907 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_cr3() local
1914 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_pdptr() local
1929 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_set_tdp_cr3() local
1939 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_inject_npf_exit() local
1983 static int nested_svm_check_permissions(struct vcpu_svm *svm) in nested_svm_check_permissions()
1999 static int nested_svm_check_exception(struct vcpu_svm *svm, unsigned nr, in nested_svm_check_exception()
2020 static inline bool nested_svm_intr(struct vcpu_svm *svm) in nested_svm_intr()
2059 static inline bool nested_svm_nmi(struct vcpu_svm *svm) in nested_svm_nmi()
2073 static void *nested_svm_map(struct vcpu_svm *svm, u64 gpa, struct page **_page) in nested_svm_map()
2099 static int nested_svm_intercept_ioio(struct vcpu_svm *svm) in nested_svm_intercept_ioio()
2124 static int nested_svm_exit_handled_msr(struct vcpu_svm *svm) in nested_svm_exit_handled_msr()
2149 static int nested_svm_exit_special(struct vcpu_svm *svm) in nested_svm_exit_special()
2181 static int nested_svm_intercept(struct vcpu_svm *svm) in nested_svm_intercept()
2229 static int nested_svm_exit_handled(struct vcpu_svm *svm) in nested_svm_exit_handled()
2271 static int nested_svm_vmexit(struct vcpu_svm *svm) in nested_svm_vmexit()
2402 static bool nested_svm_vmrun_msrpm(struct vcpu_svm *svm) in nested_svm_vmrun_msrpm()
2449 static bool nested_svm_vmrun(struct vcpu_svm *svm) in nested_svm_vmrun()
2629 static int vmload_interception(struct vcpu_svm *svm) in vmload_interception()
2650 static int vmsave_interception(struct vcpu_svm *svm) in vmsave_interception()
2671 static int vmrun_interception(struct vcpu_svm *svm) in vmrun_interception()
2699 static int stgi_interception(struct vcpu_svm *svm) in stgi_interception()
2713 static int clgi_interception(struct vcpu_svm *svm) in clgi_interception()
2732 static int invlpga_interception(struct vcpu_svm *svm) in invlpga_interception()
2747 static int skinit_interception(struct vcpu_svm *svm) in skinit_interception()
2755 static int wbinvd_interception(struct vcpu_svm *svm) in wbinvd_interception()
2761 static int xsetbv_interception(struct vcpu_svm *svm) in xsetbv_interception()
2774 static int task_switch_interception(struct vcpu_svm *svm) in task_switch_interception()
2842 static int cpuid_interception(struct vcpu_svm *svm) in cpuid_interception()
2849 static int iret_interception(struct vcpu_svm *svm) in iret_interception()
2859 static int invlpg_interception(struct vcpu_svm *svm) in invlpg_interception()
2869 static int emulate_on_interception(struct vcpu_svm *svm) in emulate_on_interception()
2874 static int rdpmc_interception(struct vcpu_svm *svm) in rdpmc_interception()
2887 static bool check_selective_cr0_intercepted(struct vcpu_svm *svm, in check_selective_cr0_intercepted()
2913 static int cr_interception(struct vcpu_svm *svm) in cr_interception()
2986 static int dr_interception(struct vcpu_svm *svm) in dr_interception()
3025 static int cr8_write_interception(struct vcpu_svm *svm) in cr8_write_interception()
3049 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_msr() local
3133 static int rdmsr_interception(struct vcpu_svm *svm) in rdmsr_interception()
3158 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_vm_cr() local
3183 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_msr() local
3309 static int wrmsr_interception(struct vcpu_svm *svm) in wrmsr_interception()
3330 static int msr_interception(struct vcpu_svm *svm) in msr_interception()
3338 static int interrupt_window_interception(struct vcpu_svm *svm) in interrupt_window_interception()
3348 static int pause_interception(struct vcpu_svm *svm) in pause_interception()
3354 static int nop_interception(struct vcpu_svm *svm) in nop_interception()
3360 static int monitor_interception(struct vcpu_svm *svm) in monitor_interception()
3366 static int mwait_interception(struct vcpu_svm *svm) in mwait_interception()
3439 struct vcpu_svm *svm = to_svm(vcpu); in dump_vmcb() local
3552 struct vcpu_svm *svm = to_svm(vcpu); in handle_exit() local
3628 static void pre_svm_run(struct vcpu_svm *svm) in pre_svm_run()
3641 struct vcpu_svm *svm = to_svm(vcpu); in svm_inject_nmi() local
3649 static inline void svm_inject_irq(struct vcpu_svm *svm, int irq) in svm_inject_irq()
3663 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_irq() local
3676 struct vcpu_svm *svm = to_svm(vcpu); in update_cr8_intercept() local
3712 struct vcpu_svm *svm = to_svm(vcpu); in svm_nmi_allowed() local
3724 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_nmi_mask() local
3731 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_nmi_mask() local
3744 struct vcpu_svm *svm = to_svm(vcpu); in svm_interrupt_allowed() local
3762 struct vcpu_svm *svm = to_svm(vcpu); in enable_irq_window() local
3778 struct vcpu_svm *svm = to_svm(vcpu); in enable_nmi_window() local
3799 struct vcpu_svm *svm = to_svm(vcpu); in svm_flush_tlb() local
3813 struct vcpu_svm *svm = to_svm(vcpu); in sync_cr8_to_lapic() local
3826 struct vcpu_svm *svm = to_svm(vcpu); in sync_lapic_to_cr8() local
3837 static void svm_complete_interrupts(struct vcpu_svm *svm) in svm_complete_interrupts()
3903 struct vcpu_svm *svm = to_svm(vcpu); in svm_cancel_injection() local
3914 struct vcpu_svm *svm = to_svm(vcpu); in svm_vcpu_run() local
4116 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_cr3() local
4125 struct vcpu_svm *svm = to_svm(vcpu); in set_tdp_cr3() local
4188 struct vcpu_svm *svm = to_svm(vcpu); in svm_cpuid_update() local
4253 struct vcpu_svm *svm = to_svm(vcpu); in svm_fpu_deactivate() local
4326 struct vcpu_svm *svm = to_svm(vcpu); in svm_check_intercept() local