Data Fields
regional Struct Reference

the regional* is the first block*. More...

#include <regional.h>

Data Fields

char * next
 next chunk.
char * large_list
 first large object, cast to char** to obtain next ptr
size_t total_large
 total large size
size_t first_size
 initial chunk size
size_t available
 number of bytes available in the current chunk.
char * data
 current chunk data position.

Detailed Description

the regional* is the first block*.

every block has a ptr to the next in first bytes. and so does the regional struct, which is the first block.


Field Documentation

next chunk.

NULL if first chunk is the only chunk. first inside that chunk is the char* next pointer. When regional_free_all() has been called this value is NULL.

Referenced by corner_cases(), prealloc_blocks(), alloc_clear(), alloc_reg_obtain(), alloc_reg_release(), regional_init(), regional_free_all(), regional_alloc(), and count_chunks().

number of bytes available in the current chunk.

Referenced by corner_cases(), regional_init(), and regional_alloc().

current chunk data position.

Referenced by regional_init(), and regional_alloc().


The documentation for this struct was generated from the following file: