1KMEM_CACHE_ALLOC(9)       Memory Management in Linux       KMEM_CACHE_ALLOC(9)
2
3
4

NAME

6       kmem_cache_alloc - Allocate an object
7

SYNOPSIS

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

ARGUMENTS

12       cachep
13           The cache to allocate from.
14
15       flags
16           See kmalloc.
17

DESCRIPTION

19       Allocate an object from this cache. The flags are only relevant if the
20       cache has no available objects.
21
23Kernel Hackers Manual 2.6.       November 2011             KMEM_CACHE_ALLOC(9)
Impressum