kmalloc_array(9)

kmalloc_array9

Allocate memory for an array.

Usage

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).

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.