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