Searched refs:encl_size (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/sgx/ |
H A D | load.c | 27 munmap((void *)encl->encl_base, encl->encl_size); in encl_delete() 93 secs->size = encl->encl_size; in encl_ioc_create() 99 munmap((void *)secs->base, encl->encl_size); in encl_ioc_create() 306 for (encl->encl_size = 4096; encl->encl_size < encl->src_size; ) in encl_load() 307 encl->encl_size <<= 1; in encl_load() 320 size_t encl_size = encl->encl_size; in encl_map_area() local 323 area = mmap(NULL, encl_size * 2, PROT_NONE, in encl_map_area() 330 encl->encl_base = ((uint64_t)area + encl_size - 1) & ~(encl_size - 1); in encl_map_area() 333 munmap((void *)(encl->encl_base + encl_size), in encl_map_area() 334 (uint64_t)area + encl_size - encl->encl_base); in encl_map_area()
|
H A D | sigstruct.c | 224 uint64_t encl_size; in mrenclave_ecreate() 226 for (encl_size = 0x1000; encl_size < blob_size; ) in mrenclave_ecreate() 227 encl_size <<= 1; in mrenclave_ecreate() 232 mrecreate.size = encl_size; in mrenclave_ecreate() 223 uint64_t encl_size; mrenclave_ecreate() local
|
H A D | main.h | 26 size_t encl_size; member
|
H A D | main.c | 1005 EXPECT_LT(total_size + PAGE_SIZE, self->encl.encl_size); in TEST_F() 1135 EXPECT_LT(total_size + PAGE_SIZE, self->encl.encl_size); in TEST_F() 1284 EXPECT_LT(total_size + 3 * PAGE_SIZE, self->encl.encl_size); in TEST_F()
|
/linux/arch/x86/kernel/cpu/sgx/ |
H A D | ioctl.c | 63 unsigned long encl_size; in sgx_encl_create() local 75 encl_size = secs->size + PAGE_SIZE; in sgx_encl_create() 77 backing = shmem_file_setup("SGX backing", encl_size + (encl_size >> 5), in sgx_encl_create()
|