Home
last modified time | relevance | path

Searched defs:encl (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/sgx/
A Dmain.h16 struct encl { struct
22 size_t encl_size; argument
23 off_t encl_base; argument
25 struct encl_segment *segment_tbl; argument
33 void encl_delete(struct encl *ctx); argument
A Dload.c22 void encl_delete(struct encl *encl) in encl_delete()
39 static bool encl_map_bin(const char *path, struct encl *encl) in encl_map_bin()
75 static bool encl_ioc_create(struct encl *encl) in encl_ioc_create()
101 static bool encl_ioc_add_pages(struct encl *encl, struct encl_segment *seg) in encl_ioc_add_pages()
127 bool encl_load(const char *path, struct encl *encl) in encl_load()
253 static bool encl_map_area(struct encl *encl) in encl_map_area()
274 bool encl_build(struct encl *encl) in encl_build()
A Dsigstruct.c289 static bool mrenclave_segment(EVP_MD_CTX *ctx, struct encl *encl, in mrenclave_segment()
306 bool encl_measure(struct encl *encl) in encl_measure()
A Dmain.c111 struct encl encl; in FIXTURE() local
/linux/arch/x86/kernel/cpu/sgx/
A Dioctl.c20 static struct sgx_va_page *sgx_encl_grow(struct sgx_encl *encl) in sgx_encl_grow()
46 static void sgx_encl_shrink(struct sgx_encl *encl, struct sgx_va_page *va_page) in sgx_encl_shrink()
57 static int sgx_encl_create(struct sgx_encl *encl, struct sgx_secs *secs) in sgx_encl_create()
146 static long sgx_ioc_enclave_create(struct sgx_encl *encl, void __user *arg) in sgx_ioc_enclave_create()
171 static struct sgx_encl_page *sgx_encl_page_alloc(struct sgx_encl *encl, in sgx_encl_page_alloc()
230 static int __sgx_encl_add_page(struct sgx_encl *encl, in __sgx_encl_add_page()
270 static int __sgx_encl_extend(struct sgx_encl *encl, in __sgx_encl_extend()
290 static int sgx_encl_add_page(struct sgx_encl *encl, unsigned long src, in sgx_encl_add_page()
414 static long sgx_ioc_enclave_add_pages(struct sgx_encl *encl, void __user *arg) in sgx_ioc_enclave_add_pages()
603 static long sgx_ioc_enclave_init(struct sgx_encl *encl, void __user *arg) in sgx_ioc_enclave_init()
[all …]
A Dencl.c24 struct sgx_encl *encl = encl_page->encl; in __sgx_encl_eldu() local
71 struct sgx_encl *encl = encl_page->encl; in sgx_encl_eldu() local
93 static struct sgx_encl_page *sgx_encl_load_page(struct sgx_encl *encl, in sgx_encl_load_page()
143 struct sgx_encl *encl; in sgx_vma_fault() local
185 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_open() local
218 int sgx_encl_may_map(struct sgx_encl *encl, unsigned long start, in sgx_encl_may_map()
322 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_access() local
487 static struct sgx_encl_mm *sgx_encl_find_mm(struct sgx_encl *encl, in sgx_encl_find_mm()
508 int sgx_encl_mm_add(struct sgx_encl *encl, struct mm_struct *mm) in sgx_encl_mm_add()
554 static struct page *sgx_encl_get_backing_page(struct sgx_encl *encl, in sgx_encl_get_backing_page()
[all …]
A Ddriver.c19 struct sgx_encl *encl; in sgx_open() local
46 struct sgx_encl *encl = file->private_data; in sgx_release() local
86 struct sgx_encl *encl = file->private_data; in sgx_mmap() local
A Dmain.c85 struct sgx_encl *encl = page->encl; in sgx_reclaimer_age() local
118 struct sgx_encl *encl = page->encl; in sgx_reclaimer_block() local
185 static const cpumask_t *sgx_encl_ewb_cpumask(struct sgx_encl *encl) in sgx_encl_ewb_cpumask()
228 struct sgx_encl *encl = encl_page->encl; in sgx_encl_ewb() local
281 struct sgx_encl *encl = encl_page->encl; in sgx_reclaimer_write() local
A Dencl.h32 struct sgx_encl *encl; member
44 struct sgx_encl *encl; member

Completed in 23 milliseconds