---
name: "__vmalloc_node"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/__vmalloc_node"
---

# \_\_vmalloc\_node(9)

allocate virtually contiguous memory

## NAME

\_\_vmalloc\_node - allocate virtually contiguous memory

## SYNOPSIS

**void \* \_\_vmalloc\_node(unsigned long** *size***, gfp\_t** *gfp\_mask***, pgprot\_t** *prot***, int** *node***);**

## ARGUMENTS

*size*

allocation size

*gfp\_mask*

flags for the page level allocator

*prot*

protection mask for the allocated pages

*node*

node to use for allocation or -1

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

## COPYRIGHT
