Allocate memory for an array. the memory is set to zero.
void * kcalloc(size_t n, size_t size, gfp_t flags);
n
number of elements.
size
element size.
flags
the type of memory to allocate (see kmalloc).