Lines Matching refs:mem
967 lv_pool_t lv_tlsf_add_pool(lv_tlsf_t tlsf, void * mem, size_t bytes) in lv_tlsf_add_pool() argument
975 if(((ptrdiff_t)mem % ALIGN_SIZE) != 0) { in lv_tlsf_add_pool()
999 block = offset_to_block(mem, -(tlsfptr_t)block_header_overhead); in lv_tlsf_add_pool()
1011 return mem; in lv_tlsf_add_pool()
1060 lv_tlsf_t lv_tlsf_create(void * mem) in lv_tlsf_create() argument
1068 if(((tlsfptr_t)mem % ALIGN_SIZE) != 0) { in lv_tlsf_create()
1074 control_constructor(tlsf_cast(control_t *, mem)); in lv_tlsf_create()
1076 return tlsf_cast(lv_tlsf_t, mem); in lv_tlsf_create()
1079 lv_tlsf_t lv_tlsf_create_with_pool(void * mem, size_t bytes) in lv_tlsf_create_with_pool() argument
1081 lv_tlsf_t tlsf = lv_tlsf_create(mem); in lv_tlsf_create_with_pool()
1082 lv_tlsf_add_pool(tlsf, (char *)mem + lv_tlsf_size(), bytes - lv_tlsf_size()); in lv_tlsf_create_with_pool()