kmem_cache_alloc

Name

kmem_cache_alloc --  Allocate an object

Synopsis

void * kmem_cache_alloc (kmem_cache_t * cachep, int flags);

Arguments

cachep

The cache to allocate from.

flags

See kmalloc.

Description

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


Vovo2000.Com - About Vovo2000 - Terms of Service - Privacy Policy - Type Testing Lab