Lines Matching refs:used
153 if (heap->info.used % PLATFORM_DCACHE_ALIGN) in rmalloc_sys()
155 (heap->info.used % PLATFORM_DCACHE_ALIGN); in rmalloc_sys()
163 heap->info.used += alignment; in rmalloc_sys()
165 ptr = (void *)(heap->heap + heap->info.used); in rmalloc_sys()
167 heap->info.used += bytes; in rmalloc_sys()
208 hdr->used = 1; in alloc_block_index()
210 heap->info.used += map->block_size; in alloc_block_index()
218 if (hdr->used == 0) { in alloc_block_index()
260 if (hdr->used) { in alloc_cont_blocks()
315 heap->info.used += count * map->block_size; in alloc_cont_blocks()
324 current < map->count && hdr->used; in alloc_cont_blocks()
334 hdr->used = 1; in alloc_cont_blocks()
528 hdr->used = 0; in free_block()
531 heap->info.used -= block_map->block_size; in free_block()
560 tr_err(&mem_tr, " used %d free %d", heap->info.used, in trace_heap_blocks()
870 if (hdr->used) in alloc_heap_buffer()
1082 cpu_heap->info.used = 0; in free_heap()
1098 tr_info(&mem_tr, " used %d free %d", heap->info.used, in heap_trace()