Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_tlsf.c274 #define tlsf_cast(t, exp) ((t) (exp)) macro
359 static const size_t block_size_max = tlsf_cast(size_t, 1) << FL_INDEX_MAX;
399 return tlsf_cast(int, block->size & block_header_free_bit); in block_is_free()
414 return tlsf_cast(int, block->size & block_header_prev_free_bit); in block_is_prev_free()
429 return tlsf_cast(block_header_t *, in block_from_ptr()
430 tlsf_cast(unsigned char *, ptr) - block_start_offset); in block_from_ptr()
435 return tlsf_cast(void *, in block_to_ptr()
436 tlsf_cast(unsigned char *, block) + block_start_offset); in block_to_ptr()
442 return tlsf_cast(block_header_t *, tlsf_cast(tlsfptr_t, ptr) + size); in offset_to_block()
499 (tlsf_cast(tlsfptr_t, ptr) + (align - 1)) & ~(align - 1); in align_ptr()
[all …]