1ALLOC_VM_AREA(9) Memory Management in Linux ALLOC_VM_AREA(9)
2
3
4
6 alloc_vm_area - allocate a range of kernel address space
7
9 struct vm_struct * alloc_vm_area(size_t size, pte_t ** ptes);
10
12 size
13 size of the area
14
15 ptes
16 returns the PTEs for the address space
17
19 NULL on failure, vm_struct on success
20
21 This function reserves a range of kernel address space, and allocates
22 pagetables to map that range. No actual mappings are created.
23
24 If ptes is non-NULL, pointers to the PTEs (in init_mm) allocated for
25 the VM area are returned.
26
28Kernel Hackers Manual 3.10 June 2019 ALLOC_VM_AREA(9)