Block memory allocator pool instance. The pool is made of elements of the same size. More...
#include <nrf_balloc.h>
Data Fields | |
nrf_balloc_cb_t * | p_cb |
Pointer to the instance control block. | |
uint8_t * | p_stack_base |
Base of the allocation stack. More... | |
uint8_t * | p_stack_limit |
Maximum possible value of the allocation stack pointer. | |
void * | p_memory_begin |
Pointer to the start of the memory pool. More... | |
uint16_t | block_size |
Size of the allocated block (including debug overhead). More... | |
Block memory allocator pool instance. The pool is made of elements of the same size.
uint16_t nrf_balloc_t::block_size |
Size of the allocated block (including debug overhead).
Single block contains user element with header and tail words.
void* nrf_balloc_t::p_memory_begin |
Pointer to the start of the memory pool.
Memory is used as a heap for blocks.
uint8_t* nrf_balloc_t::p_stack_base |
Base of the allocation stack.
Stack is used to store handlers to not allocated elements.