---
name: "kmalloc_array"
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/kmalloc_array"
---

# kmalloc\_array(9)

allocate memory for an array.

## NAME

kmalloc\_array - allocate memory for an array.

## SYNOPSIS

**void \* kmalloc\_array(size\_t** *n***, size\_t** *size***, gfp\_t** *flags***);**

## ARGUMENTS

*n*

number of elements.

*size*

element size.

*flags*

the type of memory to allocate (see kmalloc).

## COPYRIGHT
