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