ReactOS 0.4.16-dev-306-g647d351
|
Go to the source code of this file.
Classes | |
struct | memp |
struct | memp_desc |
Functions | |
void | memp_init_pool (const struct memp_desc *desc) |
void * | memp_malloc_pool (const struct memp_desc *desc) |
void | memp_free_pool (const struct memp_desc *desc, void *mem) |
memory pools lwIP internal implementations (do not use in application code)
Definition in file memp_priv.h.
Definition at line 136 of file memp_priv.h.
Definition at line 143 of file memp_priv.h.
Definition at line 144 of file memp_priv.h.
#define MEMP_ALIGN_SIZE | ( | x | ) | (LWIP_MEM_ALIGN_SIZE(x)) |
Definition at line 64 of file memp_priv.h.
#define MEMP_SIZE 0 |
Definition at line 63 of file memp_priv.h.
Put a custom pool element back into its pool.
desc | the pool where to put mem |
mem | the memp element to free |
Definition at line 403 of file memp.c.
Initialize custom memory pool. Related functions: memp_malloc_pool, memp_free_pool
desc | pool to initialize |
Definition at line 175 of file memp.c.
Referenced by memp_init().
Get an element from a custom pool.
desc | the pool to get an element from |
Definition at line 311 of file memp.c.