libdebian-installer
Data Fields
di_mem_area Struct Reference

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

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().

di_mem_area* next

the next mem area

Referenced by di_mem_chunk_alloc().

di_mem_area* prev

the previous mem area

Referenced by di_mem_chunk_alloc().