---
name: "vmap"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/vmap"
---

# vmap(9)

map an array of pages into virtually contiguous space

## 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

*pages*

array of page pointers

*count*

number of pages to map

*flags*

vm\_area-\>flags

*prot*

page protection for the mapping

## DESCRIPTION

Maps *count* pages from *pages* into contiguous kernel virtual space.

## COPYRIGHT
