kmalloc_array — allocate memory for an array.
void * kmalloc_array (
)
size_t n
number of elements.
size_t size
element size.
gfp_t flags
the type of memory to allocate (see kmalloc).