• Home
  • Raw
  • Download

Lines Matching refs:sev

110 	struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info;  in sev_get_asid()  local
112 return sev->asid; in sev_get_asid()
176 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest_init() local
183 if (unlikely(sev->active)) in sev_guest_init()
194 sev->active = true; in sev_guest_init()
195 sev->asid = asid; in sev_guest_init()
196 INIT_LIST_HEAD(&sev->regions_list); in sev_guest_init()
241 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_issue_cmd() local
243 return __sev_issue_cmd(sev->fd, id, data, error); in sev_issue_cmd()
248 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_start() local
312 sev->handle = start->handle; in sev_launch_start()
313 sev->fd = argp->sev_fd; in sev_launch_start()
328 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_pin_memory() local
346 locked = sev->pages_locked + npages; in sev_pin_memory()
375 sev->pages_locked = locked; in sev_pin_memory()
390 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_unpin_memory() local
394 sev->pages_locked -= npages; in sev_unpin_memory()
437 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_update_data() local
484 data->handle = sev->handle; in sev_launch_update_data()
511 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_measure() local
549 data->handle = sev->handle; in sev_launch_measure()
579 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_finish() local
590 data->handle = sev->handle; in sev_launch_finish()
599 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest_status() local
611 data->handle = sev->handle; in sev_guest_status()
631 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in __sev_issue_dbg_cmd() local
639 data->handle = sev->handle; in __sev_issue_dbg_cmd()
867 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_secret() local
926 data->handle = sev->handle; in sev_launch_secret()
1005 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in svm_register_enc_region() local
1030 list_add_tail(&region->list, &sev->regions_list); in svm_register_enc_region()
1051 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in find_enc_region() local
1052 struct list_head *head = &sev->regions_list; in find_enc_region()
1110 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_vm_destroy() local
1111 struct list_head *head = &sev->regions_list; in sev_vm_destroy()
1140 sev_unbind_asid(kvm, sev->handle); in sev_vm_destroy()
1141 sev_asid_free(sev->asid); in sev_vm_destroy()