Lines Matching defs:kvm
113 static inline bool is_mirroring_enc_context(struct kvm *kvm) in is_mirroring_enc_context()
190 static int sev_get_asid(struct kvm *kvm) in sev_get_asid()
229 static void sev_unbind_asid(struct kvm *kvm, unsigned int handle) in sev_unbind_asid()
246 static int sev_guest_init(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_guest_init()
285 static int sev_bind_asid(struct kvm *kvm, unsigned int handle, int *error) in sev_bind_asid()
314 static int sev_issue_cmd(struct kvm *kvm, int id, void *data, int *error) in sev_issue_cmd()
321 static int sev_launch_start(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_start()
393 static struct page **sev_pin_memory(struct kvm *kvm, unsigned long uaddr, in sev_pin_memory()
456 static void sev_unpin_memory(struct kvm *kvm, struct page **pages, in sev_unpin_memory()
504 static int sev_launch_update_data(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_update_data()
624 static int __sev_launch_update_vmsa(struct kvm *kvm, struct kvm_vcpu *vcpu, in __sev_launch_update_vmsa()
660 static int sev_launch_update_vmsa(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_update_vmsa()
684 static int sev_launch_measure(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_measure()
746 static int sev_launch_finish(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_finish()
758 static int sev_guest_status(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_guest_status()
785 static int __sev_issue_dbg_cmd(struct kvm *kvm, unsigned long src, in __sev_issue_dbg_cmd()
803 static int __sev_dbg_decrypt(struct kvm *kvm, unsigned long src_paddr, in __sev_dbg_decrypt()
819 static int __sev_dbg_decrypt_user(struct kvm *kvm, unsigned long paddr, in __sev_dbg_decrypt_user()
855 static int __sev_dbg_encrypt_user(struct kvm *kvm, unsigned long paddr, in __sev_dbg_encrypt_user()
931 static int sev_dbg_crypt(struct kvm *kvm, struct kvm_sev_cmd *argp, bool dec) in sev_dbg_crypt()
1015 static int sev_launch_secret(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_secret()
1090 static int sev_get_attestation_report(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_get_attestation_report()
1153 __sev_send_start_query_session_length(struct kvm *kvm, struct kvm_sev_cmd *argp, in __sev_send_start_query_session_length()
1172 static int sev_send_start(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_send_start()
1264 __sev_send_update_data_query_lengths(struct kvm *kvm, struct kvm_sev_cmd *argp, in __sev_send_update_data_query_lengths()
1285 static int sev_send_update_data(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_send_update_data()
1370 static int sev_send_finish(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_send_finish()
1382 static int sev_send_cancel(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_send_cancel()
1394 static int sev_receive_start(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_receive_start()
1468 static int sev_receive_update_data(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_receive_update_data()
1545 static int sev_receive_finish(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_receive_finish()
1624 static int sev_lock_vcpus_for_migration(struct kvm *kvm, in sev_lock_vcpus_for_migration()
1664 static void sev_unlock_vcpus_for_migration(struct kvm *kvm) in sev_unlock_vcpus_for_migration()
1781 int sev_vm_move_enc_context_from(struct kvm *kvm, unsigned int source_fd) in sev_vm_move_enc_context_from()
1852 int sev_mem_enc_ioctl(struct kvm *kvm, void __user *argp) in sev_mem_enc_ioctl()
1949 int sev_mem_enc_register_region(struct kvm *kvm, in sev_mem_enc_register_region()
2000 find_enc_region(struct kvm *kvm, struct kvm_enc_region *range) in find_enc_region()
2015 static void __unregister_enc_region_locked(struct kvm *kvm, in __unregister_enc_region_locked()
2023 int sev_mem_enc_unregister_region(struct kvm *kvm, in sev_mem_enc_unregister_region()
2063 int sev_vm_copy_enc_context_from(struct kvm *kvm, unsigned int source_fd) in sev_vm_copy_enc_context_from()
2128 void sev_vm_destroy(struct kvm *kvm) in sev_vm_destroy()
2346 void sev_guest_memory_reclaimed(struct kvm *kvm) in sev_guest_memory_reclaimed()