table of contents
other versions
- stretch 4.9.168-1
KMEM_CACHE_ALLOC(9) | Memory Management in Linux | KMEM_CACHE_ALLOC(9) |
NAME¶
kmem_cache_alloc - Allocate an objectSYNOPSIS¶
void * kmem_cache_alloc(struct kmem_cache * cachep, gfp_t flags);
ARGUMENTS¶
cachepThe 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.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |