di_mem_area Struct Reference
[Memory chunk allocer]

a mem area More...

Data Fields

di_mem_areanext
di_mem_areaprev
size_t index
size_t free
size_t allocated
char mem [MEM_AREA_SIZE]

Detailed Description

a mem area

For internal use only.


Field Documentation

size_t allocated

the number of atoms allocated from this area

Referenced by di_mem_chunk_alloc().

size_t free

the number of free bytes in this mem area

Referenced by di_mem_chunk_alloc().

size_t index

the current index into the "mem" array

Referenced by di_mem_chunk_alloc().

char mem[MEM_AREA_SIZE]

the mem array from which atoms get allocated the actual size of this array is determined by the mem chunk "area_size". ANSI says that it must be declared to be the maximum size it can possibly be (even though the actual size may be less).

Referenced by di_mem_chunk_alloc().

the next mem area

Referenced by di_mem_chunk_alloc().

the previous mem area

Referenced by di_mem_chunk_alloc().

Generated on Tue Apr 13 12:07:06 2010 for libdebian-installer by  doxygen 1.6.3