Public
Types
| Name | Description |
|---|---|
| FixedBlockPool | Fixed blocks pool pre-allocating blocks backed by an Allocator which are then reserved for the user,... |
| FixedBlockPoolEntry | |
| FixedBlockPoolNode |
Functions
| Name | Description |
|---|---|
| mempool::dealloc | Deallocate a block from the block pool |
| mempool::init | Initialize an block pool |
| mempool::init_for_type | Initialize an block pool |
| mempool::alloc | Allocate an block on the block pool, re-uses previously deallocated blocks |
| mempool::tinit | Initialize an block pool using Temporary allocator |
| mempool::free | Free up the entire block pool |
| mempool::tinit_for_type | Initialize an block pool using Temporary allocator |
Globals
| Name | Description |
|---|---|
| INITIAL_CAPACITY |
Private
Functions
| Name | Description |
|---|---|
| mempool::allocate_page | |
| mempool::calculate_actual_capacity | |
| mempool::free_page |