.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "__VMALLOC" 9 "August 2005" "Kernel Hackers Manual" "LINUX" .SH NAME __vmalloc \- allocate virtually contiguous memory .SH "SYNOPSIS" .ad l .hy 0 .HP 21 void\ *\ \fB__vmalloc\ \fR\ (unsigned\ long\ \fIsize\fR, unsigned\ int\ __nocast\ \fIgfp_mask\fR, pgprot_t\ \fIprot\fR); .ad .hy .SH "ARGUMENTS" .TP \fIsize\fR allocation size .TP \fIgfp_mask\fR flags for the page level allocator .TP \fIprot\fR protection mask for the allocated pages .SH "DESCRIPTION" .PP Allocate enough pages to cover \fIsize\fR from the page level allocator with \fIgfp_mask\fR flags\&. Map them into contiguous kernel virtual space, using a pagetable protection of \fIprot\fR\&. .SH "DESCRIPTION" .PP Allocate enough pages to cover \fIsize\fR from the page level allocator with \fIgfp_mask\fR flags\&. Map them into contiguous kernel virtual space, using a pagetable protection of \fIprot\fR\&.