Searched refs:encl_size (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/tools/testing/selftests/sgx/ |
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() 303 for (encl->encl_size = 4096; encl->encl_size < encl->src_size; ) in encl_load() 304 encl->encl_size <<= 1; in encl_load() 317 size_t encl_size = encl->encl_size; in encl_map_area() local 320 area = mmap(NULL, encl_size * 2, PROT_NONE, in encl_map_area() 327 encl->encl_base = ((uint64_t)area + encl_size - 1) & ~(encl_size - 1); in encl_map_area() 330 munmap((void *)(encl->encl_base + encl_size), in encl_map_area() 331 (uint64_t)area + encl_size - encl->encl_base); in encl_map_area()
|
D | sigstruct.c | 224 uint64_t encl_size; in mrenclave_ecreate() local 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()
|
D | main.h | 26 size_t encl_size; member
|
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-v6.6/arch/x86/kernel/cpu/sgx/ |
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()
|