Searched refs:sgx_encl (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/arch/x86/kernel/cpu/sgx/ |
D | encl.h | 33 struct sgx_encl *encl; 45 struct sgx_encl *encl; 51 struct sgx_encl { struct 103 int sgx_encl_may_map(struct sgx_encl *encl, unsigned long start, 108 int sgx_encl_mm_add(struct sgx_encl *encl, struct mm_struct *mm); 109 const cpumask_t *sgx_encl_cpumask(struct sgx_encl *encl); 110 int sgx_encl_alloc_backing(struct sgx_encl *encl, unsigned long page_index, 115 struct sgx_encl_page *sgx_encl_page_alloc(struct sgx_encl *encl, 118 void sgx_zap_enclave_ptes(struct sgx_encl *encl, unsigned long addr); 124 struct sgx_encl_page *sgx_encl_load_page(struct sgx_encl *encl, [all …]
|
D | encl.c | 15 static int sgx_encl_lookup_backing(struct sgx_encl *encl, unsigned long page_index, 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() 216 struct sgx_encl *encl = encl_page->encl; in sgx_encl_eldu() 243 static struct sgx_epc_page *sgx_encl_load_secs(struct sgx_encl *encl) in sgx_encl_load_secs() 253 static struct sgx_encl_page *__sgx_encl_load_page(struct sgx_encl *encl, in __sgx_encl_load_page() 280 static struct sgx_encl_page *sgx_encl_load_page_in_vma(struct sgx_encl *encl, in sgx_encl_load_page_in_vma() 302 struct sgx_encl_page *sgx_encl_load_page(struct sgx_encl *encl, in sgx_encl_load_page() [all …]
|
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 | driver.c | 19 struct sgx_encl *encl; in sgx_open() 46 struct sgx_encl *encl = file->private_data; in sgx_release() 86 struct sgx_encl *encl = file->private_data; in sgx_mmap()
|
D | main.c | 112 struct sgx_encl *encl = page->encl; in sgx_reclaimer_age() 145 struct sgx_encl *encl = page->encl; in sgx_reclaimer_block() 201 struct sgx_encl *encl = encl_page->encl; in sgx_encl_ewb() 254 struct sgx_encl *encl = encl_page->encl; in sgx_reclaimer_write()
|