Lines Matching refs:vcpu_svm

197 struct vcpu_svm {  struct
287 void recalc_intercepts(struct vcpu_svm *svm); argument
337 static __always_inline struct vcpu_svm *to_svm(struct kvm_vcpu *vcpu) in to_svm()
339 return container_of(vcpu, struct vcpu_svm, vcpu); in to_svm()
376 static inline void set_dr_intercepts(struct vcpu_svm *svm) in set_dr_intercepts()
403 static inline void clr_dr_intercepts(struct vcpu_svm *svm) in clr_dr_intercepts()
418 static inline void set_exception_intercept(struct vcpu_svm *svm, u32 bit) in set_exception_intercept()
428 static inline void clr_exception_intercept(struct vcpu_svm *svm, u32 bit) in clr_exception_intercept()
438 static inline void svm_set_intercept(struct vcpu_svm *svm, int bit) in svm_set_intercept()
447 static inline void svm_clr_intercept(struct vcpu_svm *svm, int bit) in svm_clr_intercept()
456 static inline bool svm_is_intercept(struct vcpu_svm *svm, int bit) in svm_is_intercept()
461 static inline bool nested_vgif_enabled(struct vcpu_svm *svm) in nested_vgif_enabled()
466 static inline struct vmcb *get_vgif_vmcb(struct vcpu_svm *svm) in get_vgif_vmcb()
477 static inline void enable_gif(struct vcpu_svm *svm) in enable_gif()
487 static inline void disable_gif(struct vcpu_svm *svm) in disable_gif()
497 static inline bool gif_set(struct vcpu_svm *svm) in gif_set()
507 static inline bool nested_npt_enabled(struct vcpu_svm *svm) in nested_npt_enabled()
529 void disable_nmi_singlestep(struct vcpu_svm *svm);
533 void svm_set_gif(struct vcpu_svm *svm, bool value);
548 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_virtualize_tpr()
553 static inline bool nested_exit_on_smi(struct vcpu_svm *svm) in nested_exit_on_smi()
558 static inline bool nested_exit_on_intr(struct vcpu_svm *svm) in nested_exit_on_intr()
563 static inline bool nested_exit_on_nmi(struct vcpu_svm *svm) in nested_exit_on_nmi()
571 void svm_free_nested(struct vcpu_svm *svm);
572 int svm_allocate_nested(struct vcpu_svm *svm);
577 int nested_svm_vmexit(struct vcpu_svm *svm);
579 static inline int nested_svm_simple_vmexit(struct vcpu_svm *svm, u32 exit_code) in nested_svm_simple_vmexit()
587 int nested_svm_exit_handled(struct vcpu_svm *svm);
589 int nested_svm_check_exception(struct vcpu_svm *svm, unsigned nr,
591 int nested_svm_exit_special(struct vcpu_svm *svm);
594 void nested_copy_vmcb_control_to_cache(struct vcpu_svm *svm,
596 void nested_copy_vmcb_save_to_cache(struct vcpu_svm *svm,
598 void nested_sync_control_from_vmcb02(struct vcpu_svm *svm);
599 void nested_vmcb02_compute_g_pat(struct vcpu_svm *svm);
600 void svm_switch_vmcb(struct vcpu_svm *svm, struct kvm_vmcb_info *target_vmcb);
609 void avic_init_vmcb(struct vcpu_svm *svm, struct vmcb *vmcb);
612 int avic_init_vcpu(struct vcpu_svm *svm);
647 void pre_sev_run(struct vcpu_svm *svm, int cpu);
652 void sev_init_vmcb(struct vcpu_svm *svm);
655 int sev_es_string_io(struct vcpu_svm *svm, int size, unsigned int port, int in);
656 void sev_es_vcpu_reset(struct vcpu_svm *svm);
659 void sev_es_unmap_ghcb(struct vcpu_svm *svm);