Lines Matching refs:kvm_sev_info
143 struct kvm_sev_info *sev = &to_kvm_svm(vcpu->kvm)->sev_info; in sev_vcpu_has_debug_swap()
162 static int sev_misc_cg_try_charge(struct kvm_sev_info *sev) in sev_misc_cg_try_charge()
168 static void sev_misc_cg_uncharge(struct kvm_sev_info *sev) in sev_misc_cg_uncharge()
174 static int sev_asid_new(struct kvm_sev_info *sev) in sev_asid_new()
229 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_get_asid()
234 static void sev_asid_free(struct kvm_sev_info *sev) in sev_asid_free()
369 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); in snp_guest_req_init()
390 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); in snp_guest_req_cleanup()
406 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in __sev_guest_init()
503 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest_init2()
551 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_issue_cmd()
558 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_start()
632 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_pin_memory()
694 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_unpin_memory()
742 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_update_data()
810 struct kvm_sev_info *sev = &to_kvm_svm(vcpu->kvm)->sev_info; in sev_es_sync_vmsa()
980 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_measure()
1041 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_finish()
1053 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest_status()
1082 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in __sev_issue_dbg_cmd()
1310 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_secret()
1386 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_get_attestation_report()
1449 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in __sev_send_start_query_session_length()
1467 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_send_start()
1560 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in __sev_send_update_data_query_lengths()
1580 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_send_update_data()
1665 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_send_finish()
1677 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_send_cancel()
1689 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_receive_start()
1763 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_receive_update_data()
1840 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_receive_finish()
1866 struct kvm_sev_info *dst_sev = &to_kvm_svm(dst_kvm)->sev_info; in sev_lock_two_vms()
1867 struct kvm_sev_info *src_sev = &to_kvm_svm(src_kvm)->sev_info; in sev_lock_two_vms()
1901 struct kvm_sev_info *dst_sev = &to_kvm_svm(dst_kvm)->sev_info; in sev_unlock_two_vms()
1902 struct kvm_sev_info *src_sev = &to_kvm_svm(src_kvm)->sev_info; in sev_unlock_two_vms()
1976 struct kvm_sev_info *dst = &to_kvm_svm(dst_kvm)->sev_info; in sev_migrate_from()
1977 struct kvm_sev_info *src = &to_kvm_svm(src_kvm)->sev_info; in sev_migrate_from()
1980 struct kvm_sev_info *mirror; in sev_migrate_from()
2017 struct kvm_sev_info *owner_sev_info = in sev_migrate_from()
2077 struct kvm_sev_info *dst_sev = &to_kvm_svm(kvm)->sev_info; in sev_vm_move_enc_context_from()
2078 struct kvm_sev_info *src_sev, *cg_cleanup_sev; in sev_vm_move_enc_context_from()
2193 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in snp_bind_asid()
2203 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in snp_launch_start()
2272 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_gmem_post_populate()
2362 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in snp_launch_update()
2446 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in snp_launch_update_vmsa()
2494 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in snp_launch_finish()
2689 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_mem_enc_register_region()
2741 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in find_enc_region()
2806 struct kvm_sev_info *source_sev, *mirror_sev; in sev_vm_copy_enc_context_from()
2870 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in snp_decommission_context()
2895 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_vm_destroy()
3934 struct kvm_sev_info *sev = &to_kvm_svm(svm->vcpu.kvm)->sev_info; in sev_snp_ap_creation()
4038 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); in snp_handle_guest_req()
4135 struct kvm_sev_info *sev = &to_kvm_svm(vcpu->kvm)->sev_info; in sev_handle_vmgexit_msr_protocol()
4355 struct kvm_sev_info *sev = &to_kvm_svm(vcpu->kvm)->sev_info; in sev_handle_vmgexit()
4567 struct kvm_sev_info *sev = &to_kvm_svm(vcpu->kvm)->sev_info; in sev_es_vcpu_reset()
4834 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_gmem_prepare()