Lines Matching defs:vmx
376 static __always_inline void vmx_disable_fb_clear(struct vcpu_vmx *vmx) in vmx_disable_fb_clear()
390 static __always_inline void vmx_enable_fb_clear(struct vcpu_vmx *vmx) in vmx_enable_fb_clear()
399 static void vmx_update_fb_clear_dis(struct kvm_vcpu *vcpu, struct vcpu_vmx *vmx) in vmx_update_fb_clear_dis()
509 static inline void vmx_segment_cache_clear(struct vcpu_vmx *vmx) in vmx_segment_cache_clear()
732 static inline int __vmx_find_uret_msr(struct vcpu_vmx *vmx, u32 msr) in __vmx_find_uret_msr()
742 struct vmx_uret_msr *vmx_find_uret_msr(struct vcpu_vmx *vmx, u32 msr) in vmx_find_uret_msr()
752 static int vmx_set_guest_uret_msr(struct vcpu_vmx *vmx, in vmx_set_guest_uret_msr()
819 static bool vmx_segment_cache_test_set(struct vcpu_vmx *vmx, unsigned seg, in vmx_segment_cache_test_set()
834 static u16 vmx_read_guest_seg_selector(struct vcpu_vmx *vmx, unsigned seg) in vmx_read_guest_seg_selector()
843 static ulong vmx_read_guest_seg_base(struct vcpu_vmx *vmx, unsigned seg) in vmx_read_guest_seg_base()
852 static u32 vmx_read_guest_seg_limit(struct vcpu_vmx *vmx, unsigned seg) in vmx_read_guest_seg_limit()
861 static u32 vmx_read_guest_seg_ar(struct vcpu_vmx *vmx, unsigned seg) in vmx_read_guest_seg_ar()
919 static bool msr_write_intercepted(struct vcpu_vmx *vmx, u32 msr) in msr_write_intercepted()
939 unsigned int __vmx_vcpu_run_flags(struct vcpu_vmx *vmx) in __vmx_vcpu_run_flags()
957 static void clear_atomic_switch_msr_special(struct vcpu_vmx *vmx, in clear_atomic_switch_msr_special()
975 static void clear_atomic_switch_msr(struct vcpu_vmx *vmx, unsigned msr) in clear_atomic_switch_msr()
1015 static void add_atomic_switch_msr_special(struct vcpu_vmx *vmx, in add_atomic_switch_msr_special()
1027 static void add_atomic_switch_msr(struct vcpu_vmx *vmx, unsigned msr, in add_atomic_switch_msr()
1093 static bool update_transition_efer(struct vcpu_vmx *vmx) in update_transition_efer()
1175 static inline bool pt_can_write_msr(struct vcpu_vmx *vmx) in pt_can_write_msr()
1215 static void pt_guest_enter(struct vcpu_vmx *vmx) in pt_guest_enter()
1232 static void pt_guest_exit(struct vcpu_vmx *vmx) in pt_guest_exit()
1275 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_prepare_switch_to_guest() local
1344 static void vmx_prepare_switch_to_host(struct vcpu_vmx *vmx) in vmx_prepare_switch_to_host()
1384 static u64 vmx_read_guest_kernel_gs_base(struct vcpu_vmx *vmx) in vmx_read_guest_kernel_gs_base()
1393 static void vmx_write_guest_kernel_gs_base(struct vcpu_vmx *vmx, u64 data) in vmx_write_guest_kernel_gs_base()
1406 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_load_vmcs() local
1479 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_load() local
1502 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_rflags() local
1520 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_rflags() local
1573 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_rtit_ctl_check() local
1692 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_update_emulated_instruction() local
1733 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_queue_exception() local
1778 static void vmx_setup_uret_msr(struct vcpu_vmx *vmx, unsigned int msr) in vmx_setup_uret_msr()
1798 static void setup_msrs(struct vcpu_vmx *vmx) in setup_msrs()
1888 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_msr() local
2049 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_msr() local
2813 struct vcpu_vmx *vmx = to_vmx(vcpu); in enter_pmode() local
2884 struct vcpu_vmx *vmx = to_vmx(vcpu); in enter_rmode() local
2932 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_efer() local
2981 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_flush_tlb_all() local
3080 struct vcpu_vmx *vmx = to_vmx(vcpu); in ept_update_paging_mode_cr0() local
3104 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_cr0() local
3216 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_cr4() local
3276 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_segment() local
3323 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_cpl() local
3355 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_segment() local
3803 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_disable_intercept_for_msr() local
3849 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_enable_intercept_for_msr() local
3944 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_update_msr_bitmap() local
3959 struct vcpu_vmx *vmx = to_vmx(vcpu); in pt_update_intercept_for_msr() local
3975 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_guest_apic_has_interrupt() local
3995 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_msr_filter_changed() local
4058 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_deliver_nested_posted_interrupt() local
4084 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_deliver_posted_interrupt() local
4113 void vmx_set_constant_host_state(struct vcpu_vmx *vmx) in vmx_set_constant_host_state()
4170 void set_cr4_guest_host_mask(struct vcpu_vmx *vmx) in set_cr4_guest_host_mask()
4184 u32 vmx_pin_based_exec_ctrl(struct vcpu_vmx *vmx) in vmx_pin_based_exec_ctrl()
4202 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_refresh_apicv_exec_ctrl() local
4220 u32 vmx_exec_control(struct vcpu_vmx *vmx) in vmx_exec_control()
4252 vmx_adjust_secondary_exec_control(struct vcpu_vmx *vmx, u32 *exec_control, in vmx_adjust_secondary_exec_control()
4283 #define vmx_adjust_sec_exec_control(vmx, exec_control, name, feat_name, ctrl_name, exiting) \ argument
4296 #define vmx_adjust_sec_exec_feature(vmx, exec_control, lname, uname) \ argument
4299 #define vmx_adjust_sec_exec_exiting(vmx, exec_control, lname, uname) \ argument
4302 static void vmx_compute_secondary_exec_control(struct vcpu_vmx *vmx) in vmx_compute_secondary_exec_control()
4392 static void init_vmcs(struct vcpu_vmx *vmx) in init_vmcs()
4486 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_reset() local
4599 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_inject_irq() local
4627 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_inject_nmi() local
4658 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_nmi_mask() local
4672 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_nmi_mask() local
4867 struct vcpu_vmx *vmx = to_vmx(vcpu); in handle_exception_nmi() local
5375 struct vcpu_vmx *vmx = to_vmx(vcpu); in handle_task_switch() local
5516 struct vcpu_vmx *vmx = to_vmx(vcpu); in handle_invalid_guest_state() local
5561 struct vcpu_vmx *vmx = to_vmx(vcpu); in grow_ple_window() local
5577 struct vcpu_vmx *vmx = to_vmx(vcpu); in shrink_ple_window() local
5711 struct vcpu_vmx *vmx = to_vmx(vcpu); in handle_fastpath_preemption_timer() local
5813 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_get_exit_info() local
5830 static void vmx_destroy_pml_buffer(struct vcpu_vmx *vmx) in vmx_destroy_pml_buffer()
5840 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_flush_pml_buffer() local
6056 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_handle_exit() local
6295 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_set_virtual_apic_mode() local
6424 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_sync_pir_to_irr() local
6468 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_apicv_post_state_restore() local
6484 static void handle_exception_nmi_irqoff(struct vcpu_vmx *vmx) in handle_exception_nmi_irqoff()
6516 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_handle_exit_irqoff() local
6546 static void vmx_recover_nmi_blocking(struct vcpu_vmx *vmx) in vmx_recover_nmi_blocking()
6640 static void vmx_complete_interrupts(struct vcpu_vmx *vmx) in vmx_complete_interrupts()
6657 static void atomic_switch_perf_msrs(struct vcpu_vmx *vmx) in atomic_switch_perf_msrs()
6677 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_update_hv_timer() local
6701 void noinstr vmx_update_host_rsp(struct vcpu_vmx *vmx, unsigned long host_rsp) in vmx_update_host_rsp()
6709 void noinstr vmx_spec_ctrl_restore_host(struct vcpu_vmx *vmx, in vmx_spec_ctrl_restore_host()
6747 struct vcpu_vmx *vmx, in vmx_vcpu_enter_exit()
6814 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_run() local
6963 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_free_vcpu() local
6974 struct vcpu_vmx *vmx; in vmx_create_vcpu() local
7216 static void vmcs_set_secondary_exec_control(struct vcpu_vmx *vmx) in vmcs_set_secondary_exec_control()
7242 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_vmx_cr_fixed1_bits_update() local
7282 struct vcpu_vmx *vmx = to_vmx(vcpu); in nested_vmx_entry_exit_ctls_update() local
7299 struct vcpu_vmx *vmx = to_vmx(vcpu); in update_intel_pt_cfg() local
7368 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_vcpu_after_set_cpuid() local
7555 struct vcpu_vmx *vmx; in vmx_set_hv_timer() local
7669 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_pre_enter_smm() local
7683 struct vcpu_vmx *vmx = to_vmx(vcpu); in vmx_pre_leave_smm() local