#include <slab_cache_anon.h>
Inheritance diagram for slab_cache_anon:
Public Member Functions | |
slab_cache_anon (unsigned long slab_size, unsigned elem_size, unsigned alignment) | |
virtual | ~slab_cache_anon () |
virtual void * | alloc () |
virtual void | free (void *cache_entry) |
virtual bool | reap () |
Protected Member Functions | |
virtual void * | block_alloc (unsigned long size, unsigned long alignment)=0 |
virtual void | block_free (void *block, unsigned long size)=0 |
void | destroy () |
virtual void | elem_ctor (void *) |
virtual void | elem_dtor (void *) |
Private Member Functions | |
slab_cache_anon () | |
slab_cache_anon (const slab_cache_anon &) | |
Private Attributes | |
slab * | _first_slab |
slab * | _first_available_slab |
slab * | _last_slab |
unsigned long | _slab_size |
unsigned | _elem_size |
unsigned | _latest_offset |
unsigned | _alignment |
Friends | |
class | slab |
|
|
|
|
|
|
|
|
|
Reimplemented in Kmem_slab_simple. |
|
Implemented in Kmem_slab, and Kmem_slab_simple. |
|
Implemented in Kmem_slab, and Kmem_slab_simple. |
|
|
|
|
|
|
|
Reimplemented in Kmem_slab_simple. |
|
Reimplemented in Kmem_slab_simple. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|