Home
last modified time | relevance | path

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

/samples/nitro_enclaves/
Dne_ioctl_sample.c149 void *userspace_addr; member
262 ne_user_mem_region->userspace_addr = mmap(NULL, ne_user_mem_region->memory_size, in ne_alloc_user_mem_region()
266 if (ne_user_mem_region->userspace_addr == MAP_FAILED) { in ne_alloc_user_mem_region()
367 void *userspace_addr = ne_user_mem_regions[i].userspace_addr; in ne_load_enclave_image() local
383 memcpy(userspace_addr + memory_offset, in ne_load_enclave_image()
414 .userspace_addr = (__u64)ne_user_mem_region.userspace_addr, in ne_set_user_mem_region()
503 munmap(ne_user_mem_regions[i].userspace_addr, in ne_free_mem_regions()