1. NAME▲

kmem_cache_alloc - Allocate an object

2. SYNOPSIS ▲

void * kmem_cache_alloc(struct kmem_cache *  cachep , gfp_t  flags );

3. ARGUMENTS ▲

cachep
    The cache to allocate from.

flags
    See kmalloc.

4. DESCRIPTION ▲

Allocate an object from this cache. The flags are only relevant if the cache has no available objects.

5. COPYRIGHT ▲