Name

vmap — map an array of pages into virtually contiguous space

Synopsis

void * vmap (struct page ** pages,
 unsigned int count,
 unsigned long flags,
 pgprot_t prot);
 

Arguments

struct page ** pages

array of page pointers

unsigned int count

number of pages to map

unsigned long flags

vm_area->flags

pgprot_t prot

page protection for the mapping

Description

Maps count pages from pages into contiguous kernel virtual space.