Lines Matching refs:contents
145 struct sgx_secs *contents = (struct sgx_secs *)pageinfo->contents; in __handle_encls_ecreate() local
159 miscselect = contents->miscselect; in __handle_encls_ecreate()
160 attributes = contents->attributes; in __handle_encls_ecreate()
161 xfrm = contents->xfrm; in __handle_encls_ecreate()
162 size = contents->size; in __handle_encls_ecreate()
216 struct sgx_secs *contents; in handle_encls_ecreate() local
240 sgx_get_encls_gva(vcpu, pageinfo.contents, 4096, 4096, in handle_encls_ecreate()
269 contents = (struct sgx_secs *)__get_free_page(GFP_KERNEL_ACCOUNT); in handle_encls_ecreate()
270 if (!contents) in handle_encls_ecreate()
274 if (sgx_read_hva(vcpu, contents_hva, (void *)contents, PAGE_SIZE)) { in handle_encls_ecreate()
275 free_page((unsigned long)contents); in handle_encls_ecreate()
280 pageinfo.contents = (u64)contents; in handle_encls_ecreate()
284 free_page((unsigned long)contents); in handle_encls_ecreate()