Home
last modified time | relevance | path

Searched refs:tlsf (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/heap/
Dheap_tlsf.h99 pool_t tlsf_get_pool(tlsf_t tlsf);
102 pool_t tlsf_add_pool(tlsf_t tlsf, void* mem, size_t bytes);
103 void tlsf_remove_pool(tlsf_t tlsf, pool_t pool);
106 void* tlsf_malloc(tlsf_t tlsf, size_t size);
107 void* tlsf_memalign(tlsf_t tlsf, size_t align, size_t size);
108 void* tlsf_memalign_offs(tlsf_t tlsf, size_t align, size_t size, size_t offset);
109 void* tlsf_realloc(tlsf_t tlsf, void* ptr, size_t size);
110 void tlsf_free(tlsf_t tlsf, void* ptr);
127 int tlsf_check(tlsf_t tlsf);
Dheap_tlsf.c515 int tlsf_check(tlsf_t tlsf) in tlsf_check() argument
519 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_check()
651 pool_t tlsf_add_pool(tlsf_t tlsf, void* mem, size_t bytes) in tlsf_add_pool() argument
689 block_insert(tlsf_cast(control_t*, tlsf), block); in tlsf_add_pool()
700 void tlsf_remove_pool(tlsf_t tlsf, pool_t pool) in tlsf_remove_pool() argument
702 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_remove_pool()
741 pool_t tlsf_get_pool(tlsf_t tlsf) in tlsf_get_pool() argument
743 return tlsf_cast(pool_t, (char*)tlsf + tlsf_size()); in tlsf_get_pool()
748 tlsf_t tlsf = tlsf_create(mem); in tlsf_create_with_pool() local
749 tlsf_add_pool(tlsf, (char*)mem + tlsf_size(), bytes - tlsf_size()); in tlsf_create_with_pool()
[all …]