#include <kmem_slab_simple.h>
Inheritance diagram for Kmem_slab_simple:
Public Member Functions | |
Kmem_slab_simple (unsigned elem_size, unsigned alignment) | |
~Kmem_slab_simple () | |
void * | alloc () |
void | free (void *cache_entry) |
bool | reap () |
void * | operator new (size_t size) |
void | operator delete (void *block, size_t size) |
Protected Member Functions | |
Kmem_slab_simple (unsigned long slab_size, unsigned elem_size, unsigned alignment) | |
Private Member Functions | |
virtual void * | block_alloc (unsigned long size, unsigned long) |
virtual void | block_free (void *block, unsigned long) |
Private Attributes | |
Helping_lock | _lock |
|
|
|
|
|
|
|
Reimplemented from slab_cache_anon. |
|
Implements slab_cache_anon. Reimplemented in Kmem_slab. |
|
Implements slab_cache_anon. Reimplemented in Kmem_slab. |
|
Reimplemented from slab_cache_anon. |
|
|
|
|
|
Reimplemented from slab_cache_anon. |
|
|