Home
last modified time | relevance | path

Searched refs:sgx_get_epc_virt_addr (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/x86/kernel/cpu/sgx/
H A Dioctl.c100 ret = __ecreate((void *)&pginfo, sgx_get_epc_virt_addr(secs_epc)); in sgx_encl_create()
221 pginfo.secs = (unsigned long)sgx_get_epc_virt_addr(encl->secs.epc_page); in __sgx_encl_add_page()
226 ret = __eadd(&pginfo, sgx_get_epc_virt_addr(epc_page)); in __sgx_encl_add_page()
246 ret = __eextend(sgx_get_epc_virt_addr(encl->secs.epc_page), in __sgx_encl_extend()
247 sgx_get_epc_virt_addr(epc_page) + offset); in __sgx_encl_extend()
533 addr = sgx_get_epc_virt_addr(encl->secs.epc_page); in sgx_encl_init()
698 epc_virt = sgx_get_epc_virt_addr(encl->secs.epc_page); in sgx_enclave_etrack()
781 epc_virt = sgx_get_epc_virt_addr(entry->epc_page); in sgx_enclave_restrict_permissions()
983 epc_virt = sgx_get_epc_virt_addr(entry->epc_page); in sgx_enclave_modify_types()
1129 epc_virt = sgx_get_epc_virt_addr(entry->epc_page); in sgx_encl_remove_pages()
H A Dencl.c168 pginfo.secs = (u64)sgx_get_epc_virt_addr(secs_page); in __sgx_encl_eldu()
172 ret = __eldu(&pginfo, sgx_get_epc_virt_addr(epc_page), in __sgx_encl_eldu()
173 sgx_get_epc_virt_addr(encl_page->va_page->epc_page) + va_offset); in __sgx_encl_eldu()
388 pginfo.secs = (unsigned long)sgx_get_epc_virt_addr(encl->secs.epc_page); in sgx_encl_eaug_page()
392 ret = __eaug(&pginfo, sgx_get_epc_virt_addr(epc_page)); in sgx_encl_eaug_page()
583 ret = __edbgrd(sgx_get_epc_virt_addr(page->epc_page) + offset, data); in sgx_encl_debug_read()
596 ret = __edbgwr(sgx_get_epc_virt_addr(page->epc_page) + offset, data); in sgx_encl_debug_write()
1253 ret = __epa(sgx_get_epc_virt_addr(epc_page)); in sgx_alloc_va_page()
1320 ret = __eremove(sgx_get_epc_virt_addr(page)); in sgx_encl_free_epc_page()
H A Dmain.c88 ret = __eremove(sgx_get_epc_virt_addr(page)); in __sgx_sanitize_pages()
152 ret = __eblock(sgx_get_epc_virt_addr(epc_page)); in sgx_reclaimer_block()
172 ret = __ewb(&pginfo, sgx_get_epc_virt_addr(epc_page), va_slot); in __sgx_encl_ewb()
212 va_slot = sgx_get_epc_virt_addr(va_page->epc_page) + va_offset; in sgx_encl_ewb()
218 ret = __etrack(sgx_get_epc_virt_addr(encl->secs.epc_page)); in sgx_encl_ewb()
H A Dsgx.h76 static inline void *sgx_get_epc_virt_addr(struct sgx_epc_page *page) in sgx_get_epc_virt_addr() function
H A Dvirt.c125 return __eremove(sgx_get_epc_virt_addr(epc_page)); in sgx_vepc_remove_page()