Lines Matching refs:used_blocks
37 mem_block->info.used_blocks += (uint32_t)num_blocks; in alloc_blocks()
39 if (mem_block->info.max_used_blocks < mem_block->info.used_blocks) { in alloc_blocks()
40 mem_block->info.max_used_blocks = mem_block->info.used_blocks; in alloc_blocks()
79 mem_block->info.used_blocks -= (uint32_t)num_blocks; in free_blocks()
233 mem_block->info.used_blocks += (uint32_t)count; in sys_mem_blocks_get()
235 if (mem_block->info.max_used_blocks < mem_block->info.used_blocks) { in sys_mem_blocks_get()
236 mem_block->info.max_used_blocks = mem_block->info.used_blocks; in sys_mem_blocks_get()
437 stats->allocated_bytes = mem_block->info.used_blocks << in sys_mem_blocks_runtime_stats_get()
454 mem_block->info.max_used_blocks = mem_block->info.used_blocks; in sys_mem_blocks_runtime_stats_reset_max()
487 ptr->free_bytes = (block->info.num_blocks - block->info.used_blocks) << in sys_mem_blocks_stats_query()
489 ptr->allocated_bytes = block->info.used_blocks << in sys_mem_blocks_stats_query()
507 block->info.max_used_blocks = block->info.used_blocks; in sys_mem_blocks_stats_reset()