Map an array of pages into virtually contiguous space
void * vmap(struct page ** pages, unsigned int count, unsigned long flags, pgprot_t prot);
pages
array of page pointers
count
number of pages to map
flags
vm_area->flags
prot
page protection for the mapping
Maps count pages from pages into contiguous kernel virtual space.