Searched defs:encl (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/tools/testing/selftests/sgx/ |
D | main.h | 20 struct encl { struct 26 size_t encl_size; argument 27 off_t encl_base; argument 29 struct encl_segment *segment_tbl; argument 37 void encl_delete(struct encl *ctx); argument
|
D | load.c | 22 void encl_delete(struct encl *encl) in encl_delete() 44 static bool encl_map_bin(const char *path, struct encl *encl) in encl_map_bin() 80 static bool encl_ioc_create(struct encl *encl) in encl_ioc_create() 106 static bool encl_ioc_add_pages(struct encl *encl, struct encl_segment *seg) in encl_ioc_add_pages() 137 uint64_t encl_get_entry(struct encl *encl, const char *symbol) in encl_get_entry() 174 bool encl_load(const char *path, struct encl *encl, unsigned long heap_size) in encl_load() 315 static bool encl_map_area(struct encl *encl) in encl_map_area() 336 bool encl_build(struct encl *encl) in encl_build()
|
D | main.c | 137 static off_t encl_get_tcs_offset(struct encl *encl) in encl_get_tcs_offset() 156 static off_t encl_get_data_offset(struct encl *encl) in encl_get_data_offset() 171 struct encl encl; in FIXTURE() local 175 static bool setup_test_encl(unsigned long heap_size, struct encl *encl, in setup_test_encl()
|
D | sigstruct.c | 295 static bool mrenclave_segment(EVP_MD_CTX *ctx, struct encl *encl, in mrenclave_segment() 314 bool encl_measure(struct encl *encl) in encl_measure()
|
/linux-6.1.9/arch/x86/kernel/cpu/sgx/ |
D | ioctl.c | 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() 147 static long sgx_ioc_enclave_create(struct sgx_encl *encl, void __user *arg) in sgx_ioc_enclave_create() 199 static int __sgx_encl_add_page(struct sgx_encl *encl, in __sgx_encl_add_page() 239 static int __sgx_encl_extend(struct sgx_encl *encl, in __sgx_encl_extend() 259 static int sgx_encl_add_page(struct sgx_encl *encl, unsigned long src, in sgx_encl_add_page() 349 static int sgx_validate_offset_length(struct sgx_encl *encl, in sgx_validate_offset_length() 407 static long sgx_ioc_enclave_add_pages(struct sgx_encl *encl, void __user *arg) in sgx_ioc_enclave_add_pages() 484 static int sgx_encl_init(struct sgx_encl *encl, struct sgx_sigstruct *sigstruct, in sgx_encl_init() [all …]
|
D | encl.c | 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 [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 | 112 struct sgx_encl *encl = page->encl; in sgx_reclaimer_age() local 145 struct sgx_encl *encl = page->encl; in sgx_reclaimer_block() local 201 struct sgx_encl *encl = encl_page->encl; in sgx_encl_ewb() local 254 struct sgx_encl *encl = encl_page->encl; in sgx_reclaimer_write() local
|
D | encl.h | 33 struct sgx_encl *encl; member 45 struct sgx_encl *encl; member
|