Lines Matching defs:contents
146 struct sgx_secs *contents = (struct sgx_secs *)pageinfo->contents;
160 miscselect = contents->miscselect;
161 attributes = contents->attributes;
162 xfrm = contents->xfrm;
163 size = contents->size;
224 struct sgx_secs *contents;
248 sgx_get_encls_gva(vcpu, pageinfo.contents, 4096, 4096,
272 * Copy contents into kernel memory to prevent TOCTOU attack. E.g. the
277 contents = (struct sgx_secs *)__get_free_page(GFP_KERNEL_ACCOUNT);
278 if (!contents)
282 if (sgx_read_hva(vcpu, contents_hva, (void *)contents, PAGE_SIZE)) {
283 free_page((unsigned long)contents);
288 pageinfo.contents = (u64)contents;
292 free_page((unsigned long)contents);