Lines Matching full:backing
161 struct sgx_backing *backing) in __sgx_encl_ewb() argument
169 pginfo.contents = (unsigned long)kmap_local_page(backing->contents); in __sgx_encl_ewb()
170 pginfo.metadata = (unsigned long)kmap_local_page(backing->pcmd) + in __sgx_encl_ewb()
171 backing->pcmd_offset; in __sgx_encl_ewb()
174 set_page_dirty(backing->pcmd); in __sgx_encl_ewb()
175 set_page_dirty(backing->contents); in __sgx_encl_ewb()
178 backing->pcmd_offset)); in __sgx_encl_ewb()
199 struct sgx_backing *backing) in sgx_encl_ewb() argument
217 ret = __sgx_encl_ewb(epc_page, va_slot, backing); in sgx_encl_ewb()
225 ret = __sgx_encl_ewb(epc_page, va_slot, backing); in sgx_encl_ewb()
236 ret = __sgx_encl_ewb(epc_page, va_slot, backing); in sgx_encl_ewb()
252 struct sgx_backing *backing) in sgx_reclaimer_write() argument
261 sgx_encl_ewb(epc_page, backing); in sgx_reclaimer_write()
264 sgx_encl_put_backing(backing); in sgx_reclaimer_write()
300 struct sgx_backing backing[SGX_NR_TO_SCAN]; in sgx_reclaim_pages() local
338 ret = sgx_encl_alloc_backing(encl_page->encl, page_index, &backing[i]); in sgx_reclaim_pages()
370 sgx_reclaimer_write(epc_page, &backing[i]); in sgx_reclaim_pages()