kzalloc — allocate memory. The memory is set to zero.
void * kzalloc (
)
size_t size
how many bytes of memory are required.
gfp_t flags
the type of memory to allocate (see kmalloc).