Name

__vmalloc — allocate virtually contiguous memory

Synopsis

void * __vmalloc (unsigned long  size,
 unsigned int __nocast  gfp_mask,
 pgprot_t  prot);

Arguments

size

allocation size

gfp_mask

flags for the page level allocator

prot

protection mask for the allocated pages

Description

Allocate enough pages to cover size from the page level allocator with gfp_mask flags. Map them into contiguous kernel virtual space, using a pagetable protection of prot.

Description

Allocate enough pages to cover size from the page level allocator with gfp_mask flags. Map them into contiguous kernel virtual space, using a pagetable protection of prot.