4 #include <linux/spinlock.h>
5 #include <linux/list.h>
9 struct arm_vmregion_head
{
11 struct list_head vm_list
;
12 unsigned long vm_start
;
17 struct list_head vm_list
;
18 unsigned long vm_start
;
20 struct page
*vm_pages
;
24 struct arm_vmregion
*arm_vmregion_alloc(struct arm_vmregion_head
*, size_t, size_t, gfp_t
);
25 struct arm_vmregion
*arm_vmregion_find(struct arm_vmregion_head
*, unsigned long);
26 struct arm_vmregion
*arm_vmregion_find_remove(struct arm_vmregion_head
*, unsigned long);
27 void arm_vmregion_free(struct arm_vmregion_head
*, struct arm_vmregion
*);