Searched refs:max_used_blocks (Results 1 – 3 of 3) sorted by relevance
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()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()442 stats->max_allocated_bytes = mem_block->info.max_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()491 ptr->max_allocated_bytes = block->info.max_used_blocks << in sys_mem_blocks_stats_query()507 block->info.max_used_blocks = block->info.used_blocks; in sys_mem_blocks_stats_reset()
425 zassert_equal(raw.max_used_blocks, expected->max_used_blocks, in test_mem_block_raw()427 str, expected->max_used_blocks, raw.max_used_blocks); in test_mem_block_raw()461 .used_blocks = 0, .max_used_blocks = 0 in ZTEST()494 raw.max_used_blocks++; in ZTEST()509 raw.max_used_blocks++; in ZTEST()532 raw.max_used_blocks = raw.used_blocks; in ZTEST()
90 uint32_t max_used_blocks; /* Maximum number of blocks in use */ member