Name
kcalloc —
allocate memory for an array. The memory is set to zero.
Synopsis
void * kcalloc ( | 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).