Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

slab Class Reference

#include <slab_cache_anon_i.h>

List of all members.

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


Constructor & Destructor Documentation

slab::slab (   )  [private]
 

slab::slab (  const slab &   )  [private]
 

slab::slab (  slab_cache_anon *  cache  ) 
 

slab::~slab (   )  [inline]
 


Member Function Documentation

void * slab::alloc (   ) 
 

void slab::dequeue (   ) 
 

void slab::enqueue (  slab *  prev  ) 
 

void slab::free (  void *  entry  ) 
 

bool slab::is_empty (   )  [inline]
 

bool slab::is_full (   )  [inline]
 

slab * slab::next (   )  [inline]
 

void slab::operator delete (  void *   )  [inline, private]
 

void * slab::operator new (  size_t  ,
slab_cache_anon *  cache
)  [inline]
 

slab * slab::prev (   )  [inline]
 


Member Data Documentation

slab_data slab::_data [private]
 

const unsigned slab::min_cache_items = 4 [static, private]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 26 14:20:17 2005 for Fiasco by  doxygen 1.4.2