Lines Matching refs:contents
145 struct sgx_secs *contents = (struct sgx_secs *)pageinfo->contents;
159 miscselect = contents->miscselect;
160 attributes = contents->attributes;
161 xfrm = contents->xfrm;
162 size = contents->size;
223 struct sgx_secs *contents;
247 sgx_get_encls_gva(vcpu, pageinfo.contents, 4096, 4096,
271 * Copy contents into kernel memory to prevent TOCTOU attack. E.g. the
276 contents = (struct sgx_secs *)__get_free_page(GFP_KERNEL_ACCOUNT);
277 if (!contents)
281 if (sgx_read_hva(vcpu, contents_hva, (void *)contents, PAGE_SIZE)) {
282 free_page((unsigned long)contents);
287 pageinfo.contents = (u64)contents;
291 free_page((unsigned long)contents);