Go to the documentation of this file. 1 #ifndef _LINUX_VMALLOC_H
2 #define _LINUX_VMALLOC_H
11 #define VM_IOREMAP 0x00000001
12 #define VM_ALLOC 0x00000002
13 #define VM_MAP 0x00000004
14 #define VM_USERMAP 0x00000008
15 #define VM_VPAGES 0x00000010
16 #define VM_UNLIST 0x00000020
23 #ifndef IOREMAP_MAX_ORDER
24 #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT)
80 static inline size_t get_vm_area_size(
const struct vm_struct *area)
90 unsigned long start,
unsigned long end);
93 unsigned long start,
unsigned long end,
140 struct vm_struct **pcpu_get_vm_areas(
const unsigned long *offsets,
141 const size_t *sizes,
int nr_vms,
144 void pcpu_free_vm_areas(
struct vm_struct **vms,
int nr_vms);
147 pcpu_get_vm_areas(
const unsigned long *offsets,
148 const size_t *sizes,
int nr_vms,
155 pcpu_free_vm_areas(
struct vm_struct **vms,
int nr_vms)