Lines Matching refs:pageinfo
140 struct sgx_pageinfo *pageinfo, in __handle_encls_ecreate() argument
144 struct sgx_secs *contents = (struct sgx_secs *)pageinfo->contents; in __handle_encls_ecreate()
197 ret = sgx_virt_ecreate(pageinfo, (void __user *)secs_hva, &trapnr); in __handle_encls_ecreate()
212 struct sgx_pageinfo pageinfo; in handle_encls_ecreate() local
225 r = kvm_read_guest_virt(vcpu, pageinfo_gva, &pageinfo, in handle_encls_ecreate()
226 sizeof(pageinfo), &ex); in handle_encls_ecreate()
232 sizeof(pageinfo)); in handle_encls_ecreate()
236 if (sgx_get_encls_gva(vcpu, pageinfo.metadata, 64, 64, &metadata_gva) || in handle_encls_ecreate()
237 sgx_get_encls_gva(vcpu, pageinfo.contents, 4096, 4096, in handle_encls_ecreate()
276 pageinfo.metadata = metadata_hva; in handle_encls_ecreate()
277 pageinfo.contents = (u64)contents; in handle_encls_ecreate()
279 r = __handle_encls_ecreate(vcpu, &pageinfo, secs_hva, secs_gva); in handle_encls_ecreate()