Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/heap/
Dheap_tlsf_block_functions.h68 #define block_size_max (tlsf_cast(size_t, 1) << FL_INDEX_MAX)
91 return tlsf_cast(int, block->size & block_header_free_bit); in block_is_free()
106 return tlsf_cast(int, block->size & block_header_prev_free_bit); in block_is_prev_free()
121 return tlsf_cast(block_header_t*, in block_from_ptr()
122 tlsf_cast(unsigned char*, ptr) - block_start_offset); in block_from_ptr()
127 return tlsf_cast(void*, in block_to_ptr()
128 tlsf_cast(unsigned char*, block) + block_start_offset); in block_to_ptr()
134 return tlsf_cast(block_header_t*, tlsf_cast(tlsfptr_t, ptr) + size); in offset_to_block()
Dheap_tlsf.c114 (tlsf_cast(tlsfptr_t, ptr) + (align - 1)) & ~(align - 1); in align_ptr()
116 return tlsf_cast(void*, aligned); in align_ptr()
151 sl = tlsf_cast(int, size) >> 2; in mapping_insert()
156 sl = tlsf_cast(int, size >> (fl - SL_INDEX_COUNT_LOG2)) ^ (1 << SL_INDEX_COUNT_LOG2); in mapping_insert()
501 integrity_t* integ = tlsf_cast(integrity_t*, user); in integrity_walker()
519 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_check()
689 block_insert(tlsf_cast(control_t*, tlsf), block); in tlsf_add_pool()
702 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_remove_pool()
736 control_construct(tlsf_cast(control_t*, mem)); in tlsf_create()
738 return tlsf_cast(tlsf_t, mem); in tlsf_create()
[all …]
Dheap_tlsf.h55 #define tlsf_cast(t, exp) ((t) (exp)) macro