Lines Matching defs:encl
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() local
216 struct sgx_encl *encl = encl_page->encl; in sgx_encl_eldu() local
238 static struct sgx_encl_page *__sgx_encl_load_page(struct sgx_encl *encl, in __sgx_encl_load_page()
267 static struct sgx_encl_page *sgx_encl_load_page_in_vma(struct sgx_encl *encl, in sgx_encl_load_page_in_vma()
289 struct sgx_encl_page *sgx_encl_load_page(struct sgx_encl *encl, in sgx_encl_load_page()
315 struct sgx_encl *encl, unsigned long addr) in sgx_encl_eaug_page()
416 struct sgx_encl *encl; in sgx_vma_fault() local
469 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_open() local
502 int sgx_encl_may_map(struct sgx_encl *encl, unsigned long start, in sgx_encl_may_map()
556 static int sgx_encl_debug_read(struct sgx_encl *encl, struct sgx_encl_page *page, in sgx_encl_debug_read()
570 static int sgx_encl_debug_write(struct sgx_encl *encl, struct sgx_encl_page *page, in sgx_encl_debug_write()
586 static struct sgx_encl_page *sgx_encl_reserve_page(struct sgx_encl *encl, in sgx_encl_reserve_page()
611 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_access() local
682 struct sgx_encl *encl = container_of(ref, struct sgx_encl, refcount); in sgx_encl_release() local
793 static struct sgx_encl_mm *sgx_encl_find_mm(struct sgx_encl *encl, in sgx_encl_find_mm()
814 int sgx_encl_mm_add(struct sgx_encl *encl, struct mm_struct *mm) in sgx_encl_mm_add()
903 const cpumask_t *sgx_encl_cpumask(struct sgx_encl *encl) in sgx_encl_cpumask()
927 static struct page *sgx_encl_get_backing_page(struct sgx_encl *encl, in sgx_encl_get_backing_page()
949 static int __sgx_encl_get_backing(struct sgx_encl *encl, unsigned long page_index, in __sgx_encl_get_backing()
978 static struct mem_cgroup *sgx_encl_get_mem_cgroup(struct sgx_encl *encl) in sgx_encl_get_mem_cgroup()
1040 int sgx_encl_alloc_backing(struct sgx_encl *encl, unsigned long page_index, in sgx_encl_alloc_backing()
1072 static int sgx_encl_lookup_backing(struct sgx_encl *encl, unsigned long page_index, in sgx_encl_lookup_backing()
1117 struct sgx_encl *encl = page->encl; in sgx_encl_test_and_clear_young() local
1136 struct sgx_encl_page *sgx_encl_page_alloc(struct sgx_encl *encl, in sgx_encl_page_alloc()
1177 void sgx_zap_enclave_ptes(struct sgx_encl *encl, unsigned long addr) in sgx_zap_enclave_ptes()