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