Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/poison.h>
#include <linux/interrupt.h>
#include <linux/memory.h>
#include <linux/compiler.h>
#include <linux/module.h>
#include <linux/cpu.h>
#include <linux/uaccess.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/page.h>
#include "slab.h"
Go to the source code of this file.
Functions | |
LIST_HEAD (slab_caches) | |
DEFINE_MUTEX (slab_mutex) | |
struct kmem_cache * | kmem_cache_create (const char *name, size_t size, size_t align, unsigned long flags, void(*ctor)(void *)) |
EXPORT_SYMBOL (kmem_cache_create) | |
void | kmem_cache_destroy (struct kmem_cache *s) |
EXPORT_SYMBOL (kmem_cache_destroy) | |
int | slab_is_available (void) |
Variables | |
enum slab_state | slab_state |
struct kmem_cache * | kmem_cache |
DEFINE_MUTEX | ( | slab_mutex | ) |
EXPORT_SYMBOL | ( | kmem_cache_create | ) |
EXPORT_SYMBOL | ( | kmem_cache_destroy | ) |
|
read |
Definition at line 98 of file slab_common.c.
void kmem_cache_destroy | ( | struct kmem_cache * | s | ) |
Definition at line 162 of file slab_common.c.
LIST_HEAD | ( | slab_caches | ) |
Definition at line 191 of file slab_common.c.
Definition at line 25 of file slab_common.c.
enum slab_state slab_state |
Definition at line 22 of file slab_common.c.