Name

kzalloc — allocate memory. The memory is set to zero.

Synopsis

void * kzalloc (size_t size,
 gfp_t flags);
 

Arguments

size

how many bytes of memory are required.

flags

the type of memory to allocate (see kmalloc).