Searched refs:ne_mem_region (Results 1 – 2 of 2) sorted by relevance
740 struct ne_mem_region *ne_mem_region = NULL; in ne_sanity_check_user_mem_region() local768 list_for_each_entry(ne_mem_region, &ne_enclave->mem_regions_list, in ne_sanity_check_user_mem_region()770 u64 memory_size = ne_mem_region->memory_size; in ne_sanity_check_user_mem_region()771 u64 userspace_addr = ne_mem_region->userspace_addr; in ne_sanity_check_user_mem_region()845 struct ne_mem_region *ne_mem_region = NULL; in ne_set_user_memory_region_ioctl() local855 ne_mem_region = kzalloc(sizeof(*ne_mem_region), GFP_KERNEL); in ne_set_user_memory_region_ioctl()856 if (!ne_mem_region) in ne_set_user_memory_region_ioctl()861 ne_mem_region->pages = kcalloc(max_nr_pages, sizeof(*ne_mem_region->pages), in ne_set_user_memory_region_ioctl()863 if (!ne_mem_region->pages) { in ne_set_user_memory_region_ioctl()878 i = ne_mem_region->nr_pages; in ne_set_user_memory_region_ioctl()[all …]
27 struct ne_mem_region { struct