Lines Matching refs:heap_data
81 void* heap_data; member
111 pool_t pool = tlsf_get_pool(heap->heap_data); in assert_valid_block()
143 result->heap_data = tlsf_create_with_pool(start_ptr + sizeof(heap_t), size, max_bytes); in multi_heap_register_impl()
144 if(!result->heap_data) { in multi_heap_register_impl()
149 result->free_bytes = size - tlsf_size(result->heap_data); in multi_heap_register_impl()
173 pool_t pool = tlsf_get_pool(heap->heap_data); in multi_heap_get_first_block()
207 void *result = tlsf_malloc(heap->heap_data, size); in multi_heap_malloc_impl()
231 tlsf_free(heap->heap_data, p); in multi_heap_free_impl()
251 void *result = tlsf_realloc(heap->heap_data, p, size); in multi_heap_realloc_impl()
283 void *result = tlsf_memalign_offs(heap->heap_data, alignment, size, offset); in multi_heap_aligned_alloc_impl_offs()
342 if(tlsf_check(heap->heap_data)) { in multi_heap_check()
346 if(tlsf_check_pool(tlsf_get_pool(heap->heap_data))) { in multi_heap_check()
369 tlsf_walk_pool(tlsf_get_pool(heap->heap_data), multi_heap_dump_tlsf, NULL); in multi_heap_dump()
419 tlsf_walk_pool(tlsf_get_pool(heap->heap_data), multi_heap_get_info_tlsf, info); in multi_heap_get_info_impl()
423 …info->total_allocated_bytes = (heap->pool_size - tlsf_size(heap->heap_data)) - heap->free_bytes - … in multi_heap_get_info_impl()
426 info->largest_free_block = tlsf_fit_size(heap->heap_data, info->largest_free_block); in multi_heap_get_info_impl()