Searched refs:used_blocks (Results 1 – 5 of 5) sorted by relevance
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()[all …]
420 zassert_equal(raw.used_blocks, expected->used_blocks, in test_mem_block_raw()422 str, expected->used_blocks, raw.used_blocks); in test_mem_block_raw()459 .used_blocks = 0, .max_used_blocks = 0 in ZTEST()491 raw.used_blocks++; in ZTEST()506 raw.used_blocks++; in ZTEST()520 raw.used_blocks--; in ZTEST()530 raw.max_used_blocks = raw.used_blocks; in ZTEST()
186 uint32_t used_blocks = occupied_blocks - first_data_block; in ext2_format() local189 blocks_count, blocks_per_group, occupied_blocks, used_blocks); in ext2_format()279 set_bitmap_bits(bbitmap, used_blocks); in ext2_format()
706 uint32_t used_blocks = new_size / block_size + (new_size % block_size != 0); in ext2_inode_trunc() local739 uint32_t start_blk = used_blocks; in ext2_inode_trunc()
89 uint32_t used_blocks; /* Current number of blocks in use */ member