EGmemSlab_t Struct Reference
[EGmemSlab]

#include <eg_memslab.h>

Collaboration diagram for EGmemSlab_t:

Collaboration graph
[legend]

Detailed Description

structure that holds the information relevant to each slab

Definition at line 118 of file eg_memslab.h.

Data Fields

unsigned int color:10
unsigned int elem_sz:10
unsigned int flags:2
unsigned int n_elem:10
unsigned int n_used:10
char * next_elem
EGmemSlabPool_tpool
EGeList_t slab_cn
unsigned int unused:22


Field Documentation

unsigned int EGmemSlab_t::color
 

Offset for memory bus balancing

Definition at line 125 of file eg_memslab.h.

unsigned int EGmemSlab_t::elem_sz
 

Size of the elements in the slab, including extra space for pointer next.

Definition at line 121 of file eg_memslab.h.

unsigned int EGmemSlab_t::flags
 

Internal use flags bits

Definition at line 124 of file eg_memslab.h.

unsigned int EGmemSlab_t::n_elem
 

Total number of elements in the slab

Definition at line 123 of file eg_memslab.h.

unsigned int EGmemSlab_t::n_used
 

Number of used elements in this slab

Definition at line 120 of file eg_memslab.h.

char* EGmemSlab_t::next_elem
 

Next free element in this slab

Definition at line 128 of file eg_memslab.h.

struct EGmemSlabPool_t* EGmemSlab_t::pool
 

Pointer to the slab pool structure

Definition at line 129 of file eg_memslab.h.

EGeList_t EGmemSlab_t::slab_cn
 

Connector into the list of slabs

Definition at line 127 of file eg_memslab.h.

unsigned int EGmemSlab_t::unused
 

Unused space in the structure

Definition at line 126 of file eg_memslab.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jan 30 08:55:09 2006 for EGlib by  doxygen 1.4.5