#include <linux/types.h>
#include <linux/gfp.h>
#include <linux/bug.h>
#include <linux/workqueue.h>
#include <linux/kobject.h>
#include <linux/kmemleak.h>
Go to the source code of this file.
|
enum | stat_item {
ALLOC_FASTPATH,
ALLOC_SLOWPATH,
FREE_FASTPATH,
FREE_SLOWPATH,
FREE_FROZEN,
FREE_ADD_PARTIAL,
FREE_REMOVE_PARTIAL,
ALLOC_FROM_PARTIAL,
ALLOC_SLAB,
ALLOC_REFILL,
ALLOC_NODE_MISMATCH,
FREE_SLAB,
CPUSLAB_FLUSH,
DEACTIVATE_FULL,
DEACTIVATE_EMPTY,
DEACTIVATE_TO_HEAD,
DEACTIVATE_TO_TAIL,
DEACTIVATE_REMOTE_FREES,
DEACTIVATE_BYPASS,
ORDER_FALLBACK,
CMPXCHG_DOUBLE_CPU_FAIL,
CMPXCHG_DOUBLE_FAIL,
CPU_PARTIAL_ALLOC,
CPU_PARTIAL_FREE,
CPU_PARTIAL_NODE,
CPU_PARTIAL_DRAIN,
NR_SLUB_STAT_ITEMS
} |
|
#define KMALLOC_MIN_SIZE 8 |
- Enumerator:
ALLOC_FASTPATH |
|
ALLOC_SLOWPATH |
|
FREE_FASTPATH |
|
FREE_SLOWPATH |
|
FREE_FROZEN |
|
FREE_ADD_PARTIAL |
|
FREE_REMOVE_PARTIAL |
|
ALLOC_FROM_PARTIAL |
|
ALLOC_SLAB |
|
ALLOC_REFILL |
|
ALLOC_NODE_MISMATCH |
|
FREE_SLAB |
|
CPUSLAB_FLUSH |
|
DEACTIVATE_FULL |
|
DEACTIVATE_EMPTY |
|
DEACTIVATE_TO_HEAD |
|
DEACTIVATE_TO_TAIL |
|
DEACTIVATE_REMOTE_FREES |
|
DEACTIVATE_BYPASS |
|
ORDER_FALLBACK |
|
CMPXCHG_DOUBLE_CPU_FAIL |
|
CMPXCHG_DOUBLE_FAIL |
|
CPU_PARTIAL_ALLOC |
|
CPU_PARTIAL_FREE |
|
CPU_PARTIAL_NODE |
|
CPU_PARTIAL_DRAIN |
|
NR_SLUB_STAT_ITEMS |
|
Definition at line 17 of file slub_def.h.
kmem_cache_alloc - Allocate an object : The cache to allocate from. : See kmalloc().
Allocate an object from this cache. The flags are only relevant if the cache has no available objects.
Definition at line 3780 of file slab.c.