Lines Matching full:area
27 struct vm_struct *area; member
40 *__shared = shared = gnttab_shared_vm_area.area->addr; in arch_gnttab_map_shared()
62 *__shared = shared = gnttab_status_vm_area.area->addr; in arch_gnttab_map_status()
81 if (shared == gnttab_status_vm_area.area->addr) in arch_gnttab_unmap()
94 static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames) in arch_gnttab_valloc() argument
96 area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); in arch_gnttab_valloc()
97 if (area->ptes == NULL) in arch_gnttab_valloc()
100 area->area = alloc_vm_area(PAGE_SIZE * nr_frames, area->ptes); in arch_gnttab_valloc()
101 if (area->area == NULL) { in arch_gnttab_valloc()
102 kfree(area->ptes); in arch_gnttab_valloc()
109 static void arch_gnttab_vfree(struct gnttab_vm_area *area) in arch_gnttab_vfree() argument
111 free_vm_area(area->area); in arch_gnttab_vfree()
112 kfree(area->ptes); in arch_gnttab_vfree()