Searched refs:ne_mem_region (Results 1 – 2 of 2) sorted by relevance
751 struct ne_mem_region *ne_mem_region = NULL; in ne_sanity_check_user_mem_region() local779 list_for_each_entry(ne_mem_region, &ne_enclave->mem_regions_list, in ne_sanity_check_user_mem_region()781 u64 memory_size = ne_mem_region->memory_size; in ne_sanity_check_user_mem_region()782 u64 userspace_addr = ne_mem_region->userspace_addr; in ne_sanity_check_user_mem_region()922 struct ne_mem_region *ne_mem_region = NULL; in ne_set_user_memory_region_ioctl() local931 ne_mem_region = kzalloc(sizeof(*ne_mem_region), GFP_KERNEL); in ne_set_user_memory_region_ioctl()932 if (!ne_mem_region) in ne_set_user_memory_region_ioctl()937 ne_mem_region->pages = kcalloc(max_nr_pages, sizeof(*ne_mem_region->pages), in ne_set_user_memory_region_ioctl()939 if (!ne_mem_region->pages) { in ne_set_user_memory_region_ioctl()955 i = ne_mem_region->nr_pages; in ne_set_user_memory_region_ioctl()[all …]
27 struct ne_mem_region { struct