Lines Matching refs:tlsf_cast
114 (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()
743 return tlsf_cast(pool_t, (char*)tlsf + tlsf_size()); in tlsf_get_pool()
755 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_malloc()
786 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_memalign_offs()
823 size_t gap = tlsf_cast(size_t, in tlsf_memalign_offs()
824 tlsf_cast(tlsfptr_t, aligned) - tlsf_cast(tlsfptr_t, ptr)); in tlsf_memalign_offs()
836 const void* next_aligned = tlsf_cast(void*, in tlsf_memalign_offs()
837 tlsf_cast(tlsfptr_t, aligned) + offset); in tlsf_memalign_offs()
840 gap = tlsf_cast(size_t, in tlsf_memalign_offs()
841 tlsf_cast(tlsfptr_t, aligned) - tlsf_cast(tlsfptr_t, ptr)); in tlsf_memalign_offs()
870 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_free()
895 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_realloc()