Home
last modified time | relevance | path

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

/openbmc/linux/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.c751 struct ne_mem_region *ne_mem_region = NULL; in ne_sanity_check_user_mem_region() local
922 struct ne_mem_region *ne_mem_region = NULL; in ne_set_user_memory_region_ioctl() local
931 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()
990 ne_mem_region->nr_pages++; in ne_set_user_memory_region_ioctl()
1055 kfree(ne_mem_region->pages); in ne_set_user_memory_region_ioctl()
1056 kfree(ne_mem_region); in ne_set_user_memory_region_ioctl()
1393 struct ne_mem_region *ne_mem_region = NULL; in ne_enclave_remove_all_mem_region_entries() local
[all …]
H A Dne_misc_dev.h27 struct ne_mem_region { struct