Reference

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

History