Searched refs:pginfo (Results 1 – 2 of 2) sorted by relevance
62 struct sgx_pageinfo pginfo; in sgx_encl_create() local102 pginfo.addr = 0; in sgx_encl_create()103 pginfo.contents = (unsigned long)secs; in sgx_encl_create()104 pginfo.metadata = (unsigned long)&secinfo; in sgx_encl_create()105 pginfo.secs = 0; in sgx_encl_create()108 ret = __ecreate((void *)&pginfo, sgx_get_epc_virt_addr(secs_epc)); in sgx_encl_create()212 struct sgx_pageinfo pginfo; in __sgx_encl_add_page() local229 pginfo.secs = (unsigned long)sgx_get_epc_virt_addr(encl->secs.epc_page); in __sgx_encl_add_page()230 pginfo.addr = encl_page->desc & PAGE_MASK; in __sgx_encl_add_page()231 pginfo.metadata = (unsigned long)secinfo; in __sgx_encl_add_page()[all …]
166 struct sgx_pageinfo pginfo; in __sgx_encl_ewb() local169 pginfo.addr = 0; in __sgx_encl_ewb()170 pginfo.secs = 0; in __sgx_encl_ewb()172 pginfo.contents = (unsigned long)kmap_local_page(backing->contents); in __sgx_encl_ewb()173 pginfo.metadata = (unsigned long)kmap_local_page(backing->pcmd) + in __sgx_encl_ewb()176 ret = __ewb(&pginfo, sgx_get_epc_virt_addr(epc_page), va_slot); in __sgx_encl_ewb()180 kunmap_local((void *)(unsigned long)(pginfo.metadata - in __sgx_encl_ewb()182 kunmap_local((void *)(unsigned long)pginfo.contents); in __sgx_encl_ewb()