Searched defs:encl (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/tools/testing/selftests/sgx/ |
D | main.h | 16 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
|
D | load.c | 22 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()
|
D | sigstruct.c | 289 static bool mrenclave_segment(EVP_MD_CTX *ctx, struct encl *encl, in mrenclave_segment() 306 bool encl_measure(struct encl *encl) in encl_measure()
|
D | main.c | 111 struct encl encl; in FIXTURE() local
|
/Linux-v5.15/arch/x86/kernel/cpu/sgx/ |
D | ioctl.c | 20 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() 495 static int sgx_encl_init(struct sgx_encl *encl, struct sgx_sigstruct *sigstruct, in sgx_encl_init() [all …]
|
D | encl.c | 24 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() 267 static int sgx_encl_debug_read(struct sgx_encl *encl, struct sgx_encl_page *page, in sgx_encl_debug_read() 281 static int sgx_encl_debug_write(struct sgx_encl *encl, struct sgx_encl_page *page, in sgx_encl_debug_write() 297 static struct sgx_encl_page *sgx_encl_reserve_page(struct sgx_encl *encl, in sgx_encl_reserve_page() 322 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_access() local [all …]
|
D | driver.c | 19 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
|
D | main.c | 86 struct sgx_encl *encl = page->encl; in sgx_reclaimer_age() local 119 struct sgx_encl *encl = page->encl; in sgx_reclaimer_block() local 186 static const cpumask_t *sgx_encl_ewb_cpumask(struct sgx_encl *encl) in sgx_encl_ewb_cpumask() 229 struct sgx_encl *encl = encl_page->encl; in sgx_encl_ewb() local 282 struct sgx_encl *encl = encl_page->encl; in sgx_reclaimer_write() local
|
D | encl.h | 32 struct sgx_encl *encl; member 44 struct sgx_encl *encl; member
|