'\" t .\" Title: vmap .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Memory Management in Linux .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "VMAP" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Memory Management in Linux" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" vmap \- map an array of pages into virtually contiguous space .SH "SYNOPSIS" .HP \w'void\ *\ vmap('u .BI "void * vmap(struct\ page\ **\ " "pages" ", unsigned\ int\ " "count" ", unsigned\ long\ " "flags" ", pgprot_t\ " "prot" ");" .SH "ARGUMENTS" .PP \fIpages\fR .RS 4 array of page pointers .RE .PP \fIcount\fR .RS 4 number of pages to map .RE .PP \fIflags\fR .RS 4 vm_area\->flags .RE .PP \fIprot\fR .RS 4 page protection for the mapping .RE .SH "DESCRIPTION" .PP Maps \fIcount\fR pages from \fIpages\fR into contiguous kernel virtual space\&. .SH "COPYRIGHT" .br