other versions
KMALLOC_ARRAY(9) | Memory Management in Linux | KMALLOC_ARRAY(9) |
NAME¶
kmalloc_array - allocate memory for an array.
SYNOPSIS¶
void * kmalloc_array(size_t n, size_t size, gfp_t flags);
ARGUMENTS¶
size_t n
number of elements.
size_t size
element size.
gfp_t flags
the type of memory to allocate (see kmalloc).
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |