Lines Matching refs:sgx_encl
15 static int sgx_encl_lookup_backing(struct sgx_encl *encl, unsigned long page_index,
58 static int reclaimer_writing_to_pcmd(struct sgx_encl *encl, in reclaimer_writing_to_pcmd()
110 static inline pgoff_t sgx_encl_get_backing_page_pcmd_offset(struct sgx_encl *encl, in sgx_encl_get_backing_page_pcmd_offset()
121 static inline void sgx_encl_truncate_backing_page(struct sgx_encl *encl, unsigned long page_index) in sgx_encl_truncate_backing_page()
137 struct sgx_encl *encl = encl_page->encl; in __sgx_encl_eldu()
216 struct sgx_encl *encl = encl_page->encl; in sgx_encl_eldu()
243 static struct sgx_epc_page *sgx_encl_load_secs(struct sgx_encl *encl) in sgx_encl_load_secs()
253 static struct sgx_encl_page *__sgx_encl_load_page(struct sgx_encl *encl, in __sgx_encl_load_page()
280 static struct sgx_encl_page *sgx_encl_load_page_in_vma(struct sgx_encl *encl, in sgx_encl_load_page_in_vma()
302 struct sgx_encl_page *sgx_encl_load_page(struct sgx_encl *encl, in sgx_encl_load_page()
328 struct sgx_encl *encl, unsigned long addr) in sgx_encl_eaug_page()
436 struct sgx_encl *encl; in sgx_vma_fault()
489 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_open()
522 int sgx_encl_may_map(struct sgx_encl *encl, unsigned long start, in sgx_encl_may_map()
576 static int sgx_encl_debug_read(struct sgx_encl *encl, struct sgx_encl_page *page, in sgx_encl_debug_read()
590 static int sgx_encl_debug_write(struct sgx_encl *encl, struct sgx_encl_page *page, in sgx_encl_debug_write()
606 static struct sgx_encl_page *sgx_encl_reserve_page(struct sgx_encl *encl, in sgx_encl_reserve_page()
631 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_access()
702 struct sgx_encl *encl = container_of(ref, struct sgx_encl, refcount); in sgx_encl_release()
815 static struct sgx_encl_mm *sgx_encl_find_mm(struct sgx_encl *encl, in sgx_encl_find_mm()
836 int sgx_encl_mm_add(struct sgx_encl *encl, struct mm_struct *mm) in sgx_encl_mm_add()
925 const cpumask_t *sgx_encl_cpumask(struct sgx_encl *encl) in sgx_encl_cpumask()
949 static struct page *sgx_encl_get_backing_page(struct sgx_encl *encl, in sgx_encl_get_backing_page()
971 static int __sgx_encl_get_backing(struct sgx_encl *encl, unsigned long page_index, in __sgx_encl_get_backing()
1000 static struct mem_cgroup *sgx_encl_get_mem_cgroup(struct sgx_encl *encl) in sgx_encl_get_mem_cgroup()
1062 int sgx_encl_alloc_backing(struct sgx_encl *encl, unsigned long page_index, in sgx_encl_alloc_backing()
1094 static int sgx_encl_lookup_backing(struct sgx_encl *encl, unsigned long page_index, in sgx_encl_lookup_backing()
1139 struct sgx_encl *encl = page->encl; in sgx_encl_test_and_clear_young()
1158 struct sgx_encl_page *sgx_encl_page_alloc(struct sgx_encl *encl, in sgx_encl_page_alloc()
1199 void sgx_zap_enclave_ptes(struct sgx_encl *encl, unsigned long addr) in sgx_zap_enclave_ptes()