ChibiOS/RT
5.1.0
|
Memory Pools code. More...
#include "ch.h"
Go to the source code of this file.
Functions | |
void | chPoolObjectInitAligned (memory_pool_t *mp, size_t size, unsigned align, memgetfunc_t provider) |
Initializes an empty memory pool. More... | |
void | chPoolLoadArray (memory_pool_t *mp, void *p, size_t n) |
Loads a memory pool with an array of static objects. More... | |
void * | chPoolAllocI (memory_pool_t *mp) |
Allocates an object from a memory pool. More... | |
void * | chPoolAlloc (memory_pool_t *mp) |
Allocates an object from a memory pool. More... | |
void | chPoolFreeI (memory_pool_t *mp, void *objp) |
Releases an object into a memory pool. More... | |
void | chPoolFree (memory_pool_t *mp, void *objp) |
Releases an object into a memory pool. More... | |
void | chGuardedPoolObjectInitAligned (guarded_memory_pool_t *gmp, size_t size, unsigned align) |
Initializes an empty guarded memory pool. More... | |
void | chGuardedPoolLoadArray (guarded_memory_pool_t *gmp, void *p, size_t n) |
Loads a guarded memory pool with an array of static objects. More... | |
void * | chGuardedPoolAllocTimeoutS (guarded_memory_pool_t *gmp, sysinterval_t timeout) |
Allocates an object from a guarded memory pool. More... | |
void * | chGuardedPoolAllocTimeout (guarded_memory_pool_t *gmp, sysinterval_t timeout) |
Allocates an object from a guarded memory pool. More... | |
void | chGuardedPoolFree (guarded_memory_pool_t *gmp, void *objp) |
Releases an object into a guarded memory pool. More... | |
Memory Pools code.
Definition in file chmempools.c.