Lines Matching refs:vcpu_svm

140 static bool sev_vcpu_has_debug_swap(struct vcpu_svm *svm)  in sev_vcpu_has_debug_swap()
807 static int sev_es_sync_vmsa(struct vcpu_svm *svm) in sev_es_sync_vmsa()
906 struct vcpu_svm *svm = to_svm(vcpu); in __sev_launch_update_vmsa()
1979 struct vcpu_svm *dst_svm, *src_svm; in sev_migrate_from()
2456 struct vcpu_svm *svm = to_svm(vcpu); in snp_launch_update_vmsa()
3170 struct vcpu_svm *svm; in sev_free_vcpu()
3199 static void dump_ghcb(struct vcpu_svm *svm) in dump_ghcb()
3224 static void sev_es_sync_to_ghcb(struct vcpu_svm *svm) in sev_es_sync_to_ghcb()
3243 static void sev_es_sync_from_ghcb(struct vcpu_svm *svm) in sev_es_sync_from_ghcb()
3297 static int sev_es_validate_vmgexit(struct vcpu_svm *svm) in sev_es_validate_vmgexit()
3443 void sev_es_unmap_ghcb(struct vcpu_svm *svm) in sev_es_unmap_ghcb()
3478 void pre_sev_run(struct vcpu_svm *svm, int cpu) in pre_sev_run()
3502 static int setup_vmgexit_scratch(struct vcpu_svm *svm, bool sync, u64 len) in setup_vmgexit_scratch()
3586 static void set_ghcb_msr_bits(struct vcpu_svm *svm, u64 value, u64 mask, in set_ghcb_msr_bits()
3593 static u64 get_ghcb_msr_bits(struct vcpu_svm *svm, u64 mask, unsigned int pos) in get_ghcb_msr_bits()
3598 static void set_ghcb_msr(struct vcpu_svm *svm, u64 value) in set_ghcb_msr()
3622 struct vcpu_svm *svm = to_svm(vcpu); in snp_complete_psc_msr()
3632 static int snp_begin_psc_msr(struct vcpu_svm *svm, u64 ghcb_msr) in snp_begin_psc_msr()
3667 static int snp_begin_psc(struct vcpu_svm *svm, struct psc_buffer *psc);
3669 static void snp_complete_psc(struct vcpu_svm *svm, u64 psc_ret) in snp_complete_psc()
3677 static void __snp_complete_one_psc(struct vcpu_svm *svm) in __snp_complete_one_psc()
3701 struct vcpu_svm *svm = to_svm(vcpu); in snp_complete_one_psc()
3715 static int snp_begin_psc(struct vcpu_svm *svm, struct psc_buffer *psc) in snp_begin_psc()
3841 struct vcpu_svm *svm = to_svm(vcpu); in __sev_snp_update_protected_guest_state()
3911 struct vcpu_svm *svm = to_svm(vcpu); in sev_snp_init_protected_guest_state()
3932 static int sev_snp_ap_creation(struct vcpu_svm *svm) in sev_snp_ap_creation()
3937 struct vcpu_svm *target_svm; in sev_snp_ap_creation()
4034 static int snp_handle_guest_req(struct vcpu_svm *svm, gpa_t req_gpa, gpa_t resp_gpa) in snp_handle_guest_req()
4079 static int snp_handle_ext_guest_req(struct vcpu_svm *svm, gpa_t req_gpa, gpa_t resp_gpa) in snp_handle_ext_guest_req()
4131 static int sev_handle_vmgexit_msr_protocol(struct vcpu_svm *svm) in sev_handle_vmgexit_msr_protocol()
4277 struct vcpu_svm *svm = to_svm(vcpu); in sev_handle_vmgexit()
4424 int sev_es_string_io(struct vcpu_svm *svm, int size, unsigned int port, int in) in sev_es_string_io()
4445 static void sev_es_vcpu_after_set_cpuid(struct vcpu_svm *svm) in sev_es_vcpu_after_set_cpuid()
4476 void sev_vcpu_after_set_cpuid(struct vcpu_svm *svm) in sev_vcpu_after_set_cpuid()
4490 static void sev_es_init_vmcb(struct vcpu_svm *svm) in sev_es_init_vmcb()
4549 void sev_init_vmcb(struct vcpu_svm *svm) in sev_init_vmcb()
4564 void sev_es_vcpu_reset(struct vcpu_svm *svm) in sev_es_vcpu_reset()
4580 void sev_es_prepare_switch_to_guest(struct vcpu_svm *svm, struct sev_es_save_area *hostsa) in sev_es_prepare_switch_to_guest()
4622 struct vcpu_svm *svm = to_svm(vcpu); in sev_vcpu_deliver_sipi_vector()