Lines Matching refs:block_header_overhead
346 static const size_t block_header_overhead = sizeof(size_t); variable
456 block_size(block) - block_header_overhead); in block_next()
657 offset_to_block(block_to_ptr(block), size - block_header_overhead); in block_split()
659 const size_t remain_size = block_size(block) - (size + block_header_overhead); in block_split()
664 tlsf_assert(block_size(block) == remain_size + size + block_header_overhead); in block_split()
679 prev->size += block_size(block) + block_header_overhead; in block_absorb()
744 remaining_block = block_split(block, size - block_header_overhead); in block_trim_free_leading()
897 offset_to_block(pool, -(int)block_header_overhead); in lv_tlsf_walk_pool()
959 return 2 * block_header_overhead; in lv_tlsf_pool_overhead()
964 return block_header_overhead; in lv_tlsf_alloc_overhead()
999 block = offset_to_block(mem, -(tlsfptr_t)block_header_overhead); in lv_tlsf_add_pool()
1017 block_header_t * block = offset_to_block(pool, -(int)block_header_overhead); in lv_tlsf_remove_pool()
1130 tlsf_assert(sizeof(block_header_t) == block_size_min + block_header_overhead); in lv_tlsf_memalign()
1208 const size_t combined = cursize + block_size(next) + block_header_overhead; in lv_tlsf_realloc()