#include <slab_cache_anon_i.h>
Public Member Functions | |
slab (slab_cache_anon *cache) | |
~slab () | |
void * | alloc () |
void | free (void *entry) |
bool | is_empty () |
bool | is_full () |
void | enqueue (slab *prev) |
void | dequeue () |
slab * | prev () |
slab * | next () |
void * | operator new (size_t, slab_cache_anon *cache) |
Private Member Functions | |
slab () | |
slab (const slab &) | |
void | operator delete (void *) |
Private Attributes | |
slab_data | _data |
Static Private Attributes | |
static const unsigned | min_cache_items = 4 |
Classes | |
struct | slab_data |
struct | slab_entry |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|