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

Kmem_slab_simple Class Reference

#include <kmem_slab_simple.h>

Inheritance diagram for Kmem_slab_simple:

slab_cache_anon Kmem_slab List of all members.

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

Constructor & Destructor Documentation

Kmem_slab_simple::Kmem_slab_simple unsigned  elem_size,
unsigned  alignment
 

Kmem_slab_simple::~Kmem_slab_simple  ) 
 

Kmem_slab_simple::Kmem_slab_simple unsigned long  slab_size,
unsigned  elem_size,
unsigned  alignment
[protected]
 


Member Function Documentation

void * Kmem_slab_simple::alloc  )  [virtual]
 

Reimplemented from slab_cache_anon.

void * Kmem_slab_simple::block_alloc unsigned long  size,
unsigned  long
[private, virtual]
 

Implements slab_cache_anon.

Reimplemented in Kmem_slab.

void Kmem_slab_simple::block_free void *  block,
unsigned  long
[private, virtual]
 

Implements slab_cache_anon.

Reimplemented in Kmem_slab.

void Kmem_slab_simple::free void *  cache_entry  )  [virtual]
 

Reimplemented from slab_cache_anon.

void Kmem_slab_simple::operator delete void *  block,
size_t  size
 

void * Kmem_slab_simple::operator new size_t  size  ) 
 

bool Kmem_slab_simple::reap  )  [virtual]
 

Reimplemented from slab_cache_anon.


Member Data Documentation

Helping_lock Kmem_slab_simple::_lock [private]
 


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