Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/sgx/
H A Dmain.h20 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
H A Dload.c22 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()
177 bool encl_load(const char *path, struct encl *encl, unsigned long heap_size) in encl_load()
318 static bool encl_map_area(struct encl *encl) in encl_map_area()
339 bool encl_build(struct encl *encl) in encl_build()
H A Dmain.c137 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()
H A Dsigstruct.c295 static bool mrenclave_segment(EVP_MD_CTX *ctx, struct encl *encl, in mrenclave_segment()
314 bool encl_measure(struct encl *encl) in encl_measure()
/openbmc/linux/arch/x86/kernel/cpu/sgx/
H A Dioctl.c20 struct sgx_va_page *sgx_encl_grow(struct sgx_encl *encl, bool reclaim) in sgx_encl_grow()
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()
349 static int sgx_validate_offset_length(struct sgx_encl *encl, in sgx_validate_offset_length()
671 static int sgx_ioc_sgx2_ready(struct sgx_encl *encl) in sgx_ioc_sgx2_ready()
693 static int sgx_enclave_etrack(struct sgx_encl *encl) in sgx_enclave_etrack()
735 sgx_enclave_restrict_permissions(struct sgx_encl *encl, in sgx_enclave_restrict_permissions()
890 static long sgx_enclave_modify_types(struct sgx_encl *encl, in sgx_enclave_modify_types()
1051 static long sgx_ioc_enclave_modify_types(struct sgx_encl *encl, in sgx_ioc_enclave_modify_types()
1090 static long sgx_encl_remove_pages(struct sgx_encl *encl, in sgx_encl_remove_pages()
[all …]
H A Dencl.c58 static int reclaimer_writing_to_pcmd(struct sgx_encl *encl, in reclaimer_writing_to_pcmd()
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
302 struct sgx_encl_page *sgx_encl_load_page(struct sgx_encl *encl, in sgx_encl_load_page()
328 struct sgx_encl *encl, unsigned long addr) in sgx_encl_eaug_page()
436 struct sgx_encl *encl; in sgx_vma_fault() local
489 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_open() local
522 int sgx_encl_may_map(struct sgx_encl *encl, unsigned long start, in sgx_encl_may_map()
631 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_access() local
925 const cpumask_t *sgx_encl_cpumask(struct sgx_encl *encl) in sgx_encl_cpumask()
[all …]
H 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
H A Dmain.c112 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
H A Dencl.h33 struct sgx_encl *encl; member
45 struct sgx_encl *encl; member
/openbmc/qemu/hw/scsi/
H A Dmfi.h1246 } encl; member