Lines Matching refs:handle
225 static void sev_decommission(unsigned int handle) in sev_decommission() argument
229 if (!handle) in sev_decommission()
232 decommission.handle = handle; in sev_decommission()
236 static void sev_unbind_asid(struct kvm *kvm, unsigned int handle) in sev_unbind_asid() argument
240 if (!handle) in sev_unbind_asid()
243 deactivate.handle = handle; in sev_unbind_asid()
250 sev_decommission(handle); in sev_unbind_asid()
292 static int sev_bind_asid(struct kvm *kvm, unsigned int handle, int *error) in sev_bind_asid() argument
299 activate.handle = handle; in sev_bind_asid()
367 start.handle = params.handle; in sev_launch_start()
376 ret = sev_bind_asid(kvm, start.handle, error); in sev_launch_start()
378 sev_decommission(start.handle); in sev_launch_start()
383 params.handle = start.handle; in sev_launch_start()
385 sev_unbind_asid(kvm, start.handle); in sev_launch_start()
390 sev->handle = start.handle; in sev_launch_start()
542 data.handle = sev->handle; in sev_launch_update_data()
659 vmsa.handle = to_kvm_svm(kvm)->sev_info.handle; in __sev_launch_update_vmsa()
738 data.handle = sev->handle; in sev_launch_measure()
772 data.handle = sev->handle; in sev_launch_finish()
788 data.handle = sev->handle; in sev_guest_status()
795 params.handle = data.handle; in sev_guest_status()
811 data.handle = sev->handle; in __sev_issue_dbg_cmd()
1091 data.handle = sev->handle; in sev_launch_secret()
1144 data.handle = sev->handle; in sev_get_attestation_report()
1179 data.handle = sev->handle; in __sev_send_start_query_session_length()
1253 data.handle = sev->handle; in sev_send_start()
1290 data.handle = sev->handle; in __sev_send_update_data_query_lengths()
1359 data.handle = sev->handle; in sev_send_update_data()
1396 data.handle = sev->handle; in sev_send_finish()
1408 data.handle = sev->handle; in sev_send_cancel()
1447 start.handle = params.handle; in sev_receive_start()
1461 ret = sev_bind_asid(kvm, start.handle, error); in sev_receive_start()
1463 sev_decommission(start.handle); in sev_receive_start()
1467 params.handle = start.handle; in sev_receive_start()
1471 sev_unbind_asid(kvm, start.handle); in sev_receive_start()
1475 sev->handle = start.handle; in sev_receive_start()
1548 data.handle = sev->handle; in sev_receive_update_data()
1571 data.handle = sev->handle; in sev_receive_finish()
1710 dst->handle = src->handle; in sev_migrate_from()
1717 src->handle = 0; in sev_migrate_from()
2130 mirror_sev->handle = source_sev->handle; in sev_vm_copy_enc_context_from()
2189 sev_unbind_asid(kvm, sev->handle); in sev_vm_destroy()