Home
last modified time | relevance | path

Searched refs:pageinfo (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/arch/x86/kvm/vmx/
Dsgx.c141 struct sgx_pageinfo *pageinfo, in __handle_encls_ecreate() argument
145 struct sgx_secs *contents = (struct sgx_secs *)pageinfo->contents; in __handle_encls_ecreate()
207 ret = sgx_virt_ecreate(pageinfo, (void __user *)secs_hva, &trapnr); in __handle_encls_ecreate()
222 struct sgx_pageinfo pageinfo; in handle_encls_ecreate() local
235 r = kvm_read_guest_virt(vcpu, pageinfo_gva, &pageinfo, in handle_encls_ecreate()
236 sizeof(pageinfo), &ex); in handle_encls_ecreate()
242 sizeof(pageinfo)); in handle_encls_ecreate()
246 if (sgx_get_encls_gva(vcpu, pageinfo.metadata, 64, 64, &metadata_gva) || in handle_encls_ecreate()
247 sgx_get_encls_gva(vcpu, pageinfo.contents, 4096, 4096, in handle_encls_ecreate()
286 pageinfo.metadata = metadata_hva; in handle_encls_ecreate()
[all …]
/linux-6.6.21/arch/x86/kernel/cpu/sgx/
Dvirt.c334 int sgx_virt_ecreate(struct sgx_pageinfo *pageinfo, void __user *secs, in sgx_virt_ecreate() argument
354 ret = __ecreate(pageinfo, (void *)secs); in sgx_virt_ecreate()
/linux-6.6.21/arch/x86/include/asm/
Dsgx.h414 int sgx_virt_ecreate(struct sgx_pageinfo *pageinfo, void __user *secs,