Lines Matching defs:kvm
108 static int sev_get_asid(struct kvm *kvm) in sev_get_asid()
150 static void sev_unbind_asid(struct kvm *kvm, unsigned int handle) in sev_unbind_asid()
174 static int sev_guest_init(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_guest_init()
205 static int sev_bind_asid(struct kvm *kvm, unsigned int handle, int *error) in sev_bind_asid()
239 static int sev_issue_cmd(struct kvm *kvm, int id, void *data, int *error) in sev_issue_cmd()
246 static int sev_launch_start(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_start()
324 static struct page **sev_pin_memory(struct kvm *kvm, unsigned long uaddr, in sev_pin_memory()
387 static void sev_unpin_memory(struct kvm *kvm, struct page **pages, in sev_unpin_memory()
434 static int sev_launch_update_data(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_update_data()
508 static int sev_launch_measure(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_measure()
577 static int sev_launch_finish(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_finish()
597 static int sev_guest_status(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_guest_status()
627 static int __sev_issue_dbg_cmd(struct kvm *kvm, unsigned long src, in __sev_issue_dbg_cmd()
651 static int __sev_dbg_decrypt(struct kvm *kvm, unsigned long src_paddr, in __sev_dbg_decrypt()
667 static int __sev_dbg_decrypt_user(struct kvm *kvm, unsigned long paddr, in __sev_dbg_decrypt_user()
704 static int __sev_dbg_encrypt_user(struct kvm *kvm, unsigned long paddr, in __sev_dbg_encrypt_user()
781 static int sev_dbg_crypt(struct kvm *kvm, struct kvm_sev_cmd *argp, bool dec) in sev_dbg_crypt()
865 static int sev_launch_secret(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_secret()
945 int svm_mem_enc_op(struct kvm *kvm, void __user *argp) in svm_mem_enc_op()
1002 int svm_register_enc_region(struct kvm *kvm, in svm_register_enc_region()
1049 find_enc_region(struct kvm *kvm, struct kvm_enc_region *range) in find_enc_region()
1064 static void __unregister_enc_region_locked(struct kvm *kvm, in __unregister_enc_region_locked()
1072 int svm_unregister_enc_region(struct kvm *kvm, in svm_unregister_enc_region()
1108 void sev_vm_destroy(struct kvm *kvm) in sev_vm_destroy()