kmem_cache_zalloc(9)
NAME
- kmem_cache_zalloc - Allocate an object. The memory is set
- to zero.
SYNOPSIS
void * kmem_cache_zalloc(struct kmem_cache * cache, gfp_t flags);
ARGUMENTS
- cache
- The cache to allocate from.
- flags
- See kmalloc.
DESCRIPTION
- Allocate an object from this cache and set the allocated
- memory to zero. The flags are only relevant if the cache has no
- available objects.