Searched refs:tlsf (Results 1 – 4 of 4) sorted by relevance
/lvgl-3.5.0/src/misc/ |
D | lv_tlsf.h | 58 void lv_tlsf_destroy(lv_tlsf_t tlsf); 59 lv_pool_t lv_tlsf_get_pool(lv_tlsf_t tlsf); 62 lv_pool_t lv_tlsf_add_pool(lv_tlsf_t tlsf, void * mem, size_t bytes); 63 void lv_tlsf_remove_pool(lv_tlsf_t tlsf, lv_pool_t pool); 66 void * lv_tlsf_malloc(lv_tlsf_t tlsf, size_t bytes); 67 void * lv_tlsf_memalign(lv_tlsf_t tlsf, size_t align, size_t bytes); 68 void * lv_tlsf_realloc(lv_tlsf_t tlsf, void * ptr, size_t size); 69 size_t lv_tlsf_free(lv_tlsf_t tlsf, const void * ptr); 86 int lv_tlsf_check(lv_tlsf_t tlsf);
|
D | lv_mem.c | 57 static lv_tlsf_t tlsf; variable 92 tlsf = lv_tlsf_create_with_pool((void *)LV_MEM_POOL_ALLOC(LV_MEM_SIZE), LV_MEM_SIZE); in lv_mem_init() 96 tlsf = lv_tlsf_create_with_pool((void *)work_mem_int, LV_MEM_SIZE); in lv_mem_init() 99 tlsf = lv_tlsf_create_with_pool((void *)LV_MEM_ADR, LV_MEM_SIZE); in lv_mem_init() 115 lv_tlsf_destroy(tlsf); in lv_mem_deinit() 134 void * alloc = lv_tlsf_malloc(tlsf, size); in lv_mem_alloc() 179 size_t size = lv_tlsf_free(tlsf, data); in lv_mem_free() 206 void * new_p = lv_tlsf_realloc(tlsf, data_p, new_size); in lv_mem_realloc() 227 if(lv_tlsf_check(tlsf)) { in lv_mem_test() 232 if(lv_tlsf_check_pool(lv_tlsf_get_pool(tlsf))) { in lv_mem_test() [all …]
|
D | lv_tlsf.c | 839 int lv_tlsf_check(lv_tlsf_t tlsf) in lv_tlsf_check() argument 843 control_t * control = tlsf_cast(control_t *, tlsf); in lv_tlsf_check() 968 lv_pool_t lv_tlsf_add_pool(lv_tlsf_t tlsf, void * mem, size_t bytes) in lv_tlsf_add_pool() argument 1004 block_insert(tlsf_cast(control_t *, tlsf), block); in lv_tlsf_add_pool() 1015 void lv_tlsf_remove_pool(lv_tlsf_t tlsf, lv_pool_t pool) in lv_tlsf_remove_pool() argument 1017 control_t * control = tlsf_cast(control_t *, tlsf); in lv_tlsf_remove_pool() 1082 lv_tlsf_t tlsf = lv_tlsf_create(mem); in lv_tlsf_create_with_pool() local 1083 lv_tlsf_add_pool(tlsf, (char *)mem + lv_tlsf_size(), bytes - lv_tlsf_size()); in lv_tlsf_create_with_pool() 1084 return tlsf; in lv_tlsf_create_with_pool() 1087 void lv_tlsf_destroy(lv_tlsf_t tlsf) in lv_tlsf_destroy() argument [all …]
|
/lvgl-3.5.0/docs/ |
D | CHANGELOG.md | 961 - fix(tlsf) do not use <assert.h> [`c9745b9`](https://github.com/lvgl/lvgl/commit/c9745b9c4ea… 1063 - fix(tlsf) undef printf before define-ing it [`cc935b8`](https://github.com/lvgl/lvgl/commit/cc935… 1116 - fix(mem) add lv_ prefix to tlsf functions and types [`0d52b59`](https://github.com/lvgl/lvgl/comm… 1378 - fix(tlsf) do not use <assert.h> 1406 - fix(mem) add lv_ prefix to tlsf functions and types <a href="https://github.com/lvgl/lvgl/commit/…
|