other versions
- wheezy 3.2.78-1
VM_MAP_RAM(9) | Memory Management in Linux | VM_MAP_RAM(9) |
NAME¶
vm_map_ram - map pages linearly into kernel virtual address (vmalloc space)SYNOPSIS¶
void *
vm_map_ram(struct page ** pages,
unsigned int count, int node,
pgprot_t prot);
ARGUMENTS¶
pagesan array of pointers to the pages to be
mapped
count
number of pages
node
prefer to allocate data structures on this
node
prot
memory protection to use. PAGE_KERNEL for
regular RAM
RETURNS¶
a pointer to the address that has been mapped, or NULL on failureCOPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |