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 …]
422 zassert_equal(raw.used_blocks, expected->used_blocks, in test_mem_block_raw()424 str, expected->used_blocks, raw.used_blocks); in test_mem_block_raw()461 .used_blocks = 0, .max_used_blocks = 0 in ZTEST()493 raw.used_blocks++; in ZTEST()508 raw.used_blocks++; in ZTEST()522 raw.used_blocks--; in ZTEST()532 raw.max_used_blocks = raw.used_blocks; in ZTEST()
188 uint32_t used_blocks = occupied_blocks - first_data_block; in ext2_format() local191 blocks_count, blocks_per_group, occupied_blocks, used_blocks); in ext2_format()281 set_bitmap_bits(bbitmap, used_blocks); in ext2_format()
708 uint32_t used_blocks = new_size / block_size + (new_size % block_size != 0); in ext2_inode_trunc() local741 uint32_t start_blk = used_blocks; in ext2_inode_trunc()
89 uint32_t used_blocks; /* Current number of blocks in use */ member