Struct SYN_Pool¶
Fixed-size block memory pool.
#include <syn_pool.h>
Public Attributes¶
| Type | Name |
|---|---|
| size_t | block_count |
| size_t | block_size |
| uint8_t * | buf |
| void * | freelist |
| size_t | high_water |
| size_t | used |
Public Attributes Documentation¶
variable block_count¶
Total number of blocks
variable block_size¶
Aligned block size in bytes
variable buf¶
Backing storage
variable freelist¶
Head of the freelist (NULL when empty)
variable high_water¶
Peak allocation count
variable used¶
Currently allocated blocks
The documentation for this class was generated from the following file src/syntropic/util/syn_pool.h