Lines Matching refs:block_header_overhead
284 offset_to_block(block_to_ptr(block), size - block_header_overhead); in block_split()
289 const size_t remain_size = block_size(block) - (size + block_header_overhead); in block_split()
294 tlsf_assert(block_size(block) == remain_size + size + block_header_overhead); in block_split()
332 prev->size += block_size(block) + block_header_overhead; in block_absorb()
409 remaining_block = block_split(block, size - block_header_overhead); in block_trim_free_leading()
579 offset_to_block(pool, -(int)block_header_overhead); in tlsf_walk_pool()
643 return 2 * block_header_overhead; in tlsf_pool_overhead()
648 return block_header_overhead; in tlsf_alloc_overhead()
685 block = offset_to_block(mem, -(tlsfptr_t)block_header_overhead); in tlsf_add_pool()
703 block_header_t* block = offset_to_block(pool, -(int)block_header_overhead); in tlsf_remove_pool()
817 tlsf_assert(sizeof(block_header_t) == block_size_min + block_header_overhead); in tlsf_memalign_offs()
914 const size_t combined = cursize + block_size(next) + block_header_overhead; in tlsf_realloc()