.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "__VMALLOC" "" "06 October 2005" "" ""
.SH NAME
__vmalloc \- allocate virtually contiguous memory
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void * __vmalloc (unsigned long \fIsize\fB, int \fIgfp_mask\fB, pgprot_t \fIprot\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsize\fB\fR
allocation size
.TP
\fB\fIgfp_mask\fB\fR
flags for the page level allocator
.TP
\fB\fIprot\fB\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\&.