Lines Matching refs:free_bytes
78 size_t free_bytes; member
149 result->free_bytes = size - tlsf_size(result->heap_data); in multi_heap_register_impl()
151 result->minimum_free_bytes = result->free_bytes; in multi_heap_register_impl()
209 heap->free_bytes -= tlsf_block_size(result); in multi_heap_malloc_impl()
210 heap->free_bytes -= tlsf_alloc_overhead(); in multi_heap_malloc_impl()
211 if (heap->free_bytes < heap->minimum_free_bytes) { in multi_heap_malloc_impl()
212 heap->minimum_free_bytes = heap->free_bytes; in multi_heap_malloc_impl()
229 heap->free_bytes += tlsf_block_size(p); in multi_heap_free_impl()
230 heap->free_bytes += tlsf_alloc_overhead(); in multi_heap_free_impl()
255 heap->free_bytes += previous_block_size; in multi_heap_realloc_impl()
256 heap->free_bytes -= tlsf_block_size(result); in multi_heap_realloc_impl()
257 if (heap->free_bytes < heap->minimum_free_bytes) { in multi_heap_realloc_impl()
258 heap->minimum_free_bytes = heap->free_bytes; in multi_heap_realloc_impl()
285 heap->free_bytes -= tlsf_block_size(result); in multi_heap_aligned_alloc_impl_offs()
286 heap->free_bytes -= tlsf_alloc_overhead(); in multi_heap_aligned_alloc_impl_offs()
287 if(heap->free_bytes < heap->minimum_free_bytes) { in multi_heap_aligned_alloc_impl_offs()
288 heap->minimum_free_bytes = heap->free_bytes; in multi_heap_aligned_alloc_impl_offs()
379 return heap->free_bytes; in multi_heap_free_size_impl()
423 …info->total_allocated_bytes = (heap->pool_size - tlsf_size(heap->heap_data)) - heap->free_bytes - … in multi_heap_get_info_impl()
425 info->total_free_bytes = heap->free_bytes; in multi_heap_get_info_impl()