Home
last modified time | relevance | path

Searched refs:memory_size (Results 1 – 1 of 1) sorted by relevance

/samples/nitro_enclaves/
Dne_ioctl_sample.c150 size_t memory_size; member
262 ne_user_mem_region->userspace_addr = mmap(NULL, ne_user_mem_region->memory_size, in ne_alloc_user_mem_region()
303 enclave_memory_size += ne_user_mem_regions[i].memory_size; in ne_load_enclave_image()
365 size_t memory_size = ne_user_mem_regions[i].memory_size; in ne_load_enclave_image() local
369 if (temp_image_offset >= memory_size) { in ne_load_enclave_image()
370 temp_image_offset -= memory_size; in ne_load_enclave_image()
375 memory_size -= temp_image_offset; in ne_load_enclave_image()
380 bytes_to_write = memory_size < remaining_bytes ? in ne_load_enclave_image()
381 memory_size : remaining_bytes; in ne_load_enclave_image()
413 .memory_size = ne_user_mem_region.memory_size, in ne_set_user_mem_region()
[all …]