|
0.3.1
|
Data Structures | |
| struct | memb_ref |
| Not yet documented. More... | |
| struct | memb |
| Not yet documented. More... | |
Macros | |
| #define | MEMB(name, structure, count, align) |
| Statically declare a block pool. | |
Typedefs | |
| typedef struct memb_ref | memb_ref_t |
| Not yet documented. | |
| typedef enum memb_type | memb_type_t |
| Not yet documented. | |
| typedef struct memb | memb_t |
| Not yet documented. | |
Enumerations | |
| enum | memb_type |
| Not yet documented. More... | |
Functions | |
| void | memb_init (memb_t *memb) |
| Not yet documented. | |
| int | memb_memb_init (memb_t *memb, void *pool, uint32_t block_count, uint32_t block_size) |
| Not yet documented. | |
| int | memb_memb_alloc (memb_t *memb, uint32_t block_count, uint32_t block_size, uint32_t align) |
| Not yet documented. | |
| void | memb_memb_free (memb_t *memb) |
| Not yet documented. | |
| void * | memb_alloc (memb_t *memb) |
| Not yet documented. | |
| void * | memb_contiguous_alloc (memb_t *memb, uint32_t count) |
| Not yet documented. | |
| int | memb_free (memb_t *memb, void *addr) |
| Not yet documented. | |
| uint32_t | memb_size_get (const memb_t *memb) |
| Not yet documented. | |
| uint32_t | memb_capacity_count_get (const memb_t *memb) |
| Not yet documented. | |
| uint32_t | memb_allocated_count_get (const memb_t *memb) |
| Not yet documented. | |
| bool | memb_bounds (memb_t *memb, const void *addr) |
| Not yet documented. | |
Description goes here.
| struct memb_ref |
Not yet documented.
| Data Fields | ||
|---|---|---|
| uint16_t | count | Not yet documented. |
| #define MEMB | ( | name, | |
| structure, | |||
| count, | |||
| align | |||
| ) |
Statically declare a block pool.
| name | |
| structure | |
| count | |
| align |
| enum memb_type |
| void memb_init | ( | memb_t * | memb | ) |
Not yet documented.
| memb |
Not yet documented.
| memb | |
| pool | |
| block_count | |
| block_size |
Not yet documented.
| memb | |
| block_count | |
| block_size | |
| align |
| void memb_memb_free | ( | memb_t * | memb | ) |
Not yet documented.
| memb |
| void * memb_alloc | ( | memb_t * | memb | ) |
Not yet documented.
| memb |
Not yet documented.
| memb | |
| count |
| int memb_free | ( | memb_t * | memb, |
| void * | addr | ||
| ) |
Not yet documented.
| memb | |
| addr |
Not yet documented.
| [in] | memb |
Not yet documented.
| [in] | memb |
Not yet documented.
| [in] | memb |
| bool memb_bounds | ( | memb_t * | memb, |
| const void * | addr | ||
| ) |
Not yet documented.
| memb | |
| addr |