NimBLE-Arduino 2.1.2
|
#include <glue.h>
Public Attributes | |
uint32_t | num_blocks |
size_t | block_size |
char * | buffer |
uint32_t | num_used |
Memory slab structure
size_t k_mem_slab::block_size |
number of memory blocks available for allocation
char* k_mem_slab::buffer |
size of single block buffer for blocks - must be alligned to N-byte, where N is a power of 2. Minimal size of buffer is num_blocks * block_size
uint32_t k_mem_slab::num_blocks |
_wait_q_t is not required now, as we don't implement zephyr timeouts - if slab couldn't be allocated, we simply return error
uint32_t k_mem_slab::num_used |
list of free memory blocks