22 #include <sys/types.h> 28 #define tlsf_malloc oro_rt_malloc 29 #define tlsf_free oro_rt_free 30 #define tlsf_realloc oro_rt_realloc 31 #define tlsf_calloc oro_rt_calloc 37 #ifdef ORO_MEMORY_POOL 54 extern void free_ex(
void *,
void *);
55 extern void *
realloc_ex(
void *,
size_t,
void *);
56 extern void *
calloc_ex(
size_t,
size_t,
void *);
62 extern void *
tlsf_calloc(
size_t nelem,
size_t elem_size);
66 extern void print_tlsf_mp(FILE* ff);
68 extern void print_all_blocks_mp(FILE* ff);
void * realloc_ex(void *ptr, size_t new_size, void *mem_pool)
void * malloc_ex(size_t size, void *mem_pool)
size_t add_new_area(void *area, size_t area_size, void *mem_pool)
size_t get_max_size(void *mem_pool)
void * calloc_ex(size_t nelem, size_t elem_size, void *mem_pool)
size_t init_memory_pool(size_t mem_pool_size, void *mem_pool)
void destroy_memory_pool(void *mem_pool)
size_t get_overhead_size_mp(void)
size_t get_used_size_mp(void)
size_t get_pool_size_mp(void)
size_t get_pool_size(void *mem_pool)
size_t get_overhead_size(void *mem_pool)
size_t get_max_size_mp(void)
void free_ex(void *ptr, void *mem_pool)
size_t get_used_size(void *mem_pool)