Copyright (C) RivieraWaves 2011-2019. More...
#include "co_int.h"Go to the source code of this file.
Data Structures | |
| struct | co_pool_hdr |
| Generic descriptor header of a pool element. More... | |
| struct | co_pool |
| Structure containing the pool's information: free list pointer and remaining number of elements available. More... | |
Functions | |
| void | co_pool_init (struct co_pool *pool, struct co_pool_hdr *pool_hdr, void *elements, uint32_t elem_size, uint32_t elem_cnt) |
| Initialize the pool. | |
| struct co_pool_hdr * | co_pool_alloc (struct co_pool *pool, uint32_t nbelem) |
| Allocate elements from the pool. | |
| void | co_pool_free (struct co_pool *pool, struct co_pool_hdr *elements, uint32_t nbelem) |
| Release elements from the pool. | |
Copyright (C) RivieraWaves 2011-2019.
File Containing:
Definition in file co_pool.h.
1.6.1