other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
REMAP_VMALLOC_RANGE(9) | Memory Management in Linux | REMAP_VMALLOC_RANGE(9) |
NAME¶
remap_vmalloc_range - map vmalloc pages to userspaceSYNOPSIS¶
int
remap_vmalloc_range(struct vm_area_struct * vma,
void * addr,
unsigned long pgoff);
ARGUMENTS¶
vmavma to cover (map full range of vma)
addr
vmalloc memory
pgoff
number of pages into addr before first page to
map
RETURNS¶
0 for success, -Exxx on failure This function checks that addr is a valid vmalloc'ed area, and that it is big enough to cover the vma. Will return failure if that criteria isn't met. Similar to remap_pfn_range (see mm/memory.c)COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |