Lines Matching defs:encl
20 struct sgx_va_page *sgx_encl_grow(struct sgx_encl *encl, bool reclaim) in sgx_encl_grow()
46 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()
154 static long sgx_ioc_enclave_create(struct sgx_encl *encl, void __user *arg) in sgx_ioc_enclave_create()
206 static int __sgx_encl_add_page(struct sgx_encl *encl, in __sgx_encl_add_page()
246 static int __sgx_encl_extend(struct sgx_encl *encl, in __sgx_encl_extend()
266 static int sgx_encl_add_page(struct sgx_encl *encl, unsigned long src, in sgx_encl_add_page()
356 static int sgx_validate_offset_length(struct sgx_encl *encl, in sgx_validate_offset_length()
414 static long sgx_ioc_enclave_add_pages(struct sgx_encl *encl, void __user *arg) in sgx_ioc_enclave_add_pages()
491 static int sgx_encl_init(struct sgx_encl *encl, struct sgx_sigstruct *sigstruct, in sgx_encl_init()
599 static long sgx_ioc_enclave_init(struct sgx_encl *encl, void __user *arg) in sgx_ioc_enclave_init()
663 static long sgx_ioc_enclave_provision(struct sgx_encl *encl, void __user *arg) in sgx_ioc_enclave_provision()
678 static int sgx_ioc_sgx2_ready(struct sgx_encl *encl) in sgx_ioc_sgx2_ready()
700 static int sgx_enclave_etrack(struct sgx_encl *encl) in sgx_enclave_etrack()
742 sgx_enclave_restrict_permissions(struct sgx_encl *encl, in sgx_enclave_restrict_permissions()
849 static long sgx_ioc_enclave_restrict_permissions(struct sgx_encl *encl, in sgx_ioc_enclave_restrict_permissions()
897 static long sgx_enclave_modify_types(struct sgx_encl *encl, in sgx_enclave_modify_types()
1058 static long sgx_ioc_enclave_modify_types(struct sgx_encl *encl, in sgx_ioc_enclave_modify_types()
1097 static long sgx_encl_remove_pages(struct sgx_encl *encl, in sgx_encl_remove_pages()
1205 static long sgx_ioc_enclave_remove_pages(struct sgx_encl *encl, in sgx_ioc_enclave_remove_pages()
1234 struct sgx_encl *encl = filep->private_data; in sgx_ioctl() local