Home
last modified time | relevance | path

Searched refs:fs_memory (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.7.0/subsys/fs/ext2/
Dext2_format.c105 uint32_t fs_memory = cfg->fs_size ? MIN(cfg->fs_size, fs->device_size) : fs->device_size; in ext2_format() local
113 LOG_INF("[Memory] available:%lld requested:%d", fs->device_size, fs_memory); in ext2_format()
115 if (fs_memory > fs->device_size) { in ext2_format()
121 fs_memory -= CONFIG_EXT2_DISK_STARTING_SECTOR * fs->write_size; in ext2_format()
123 uint32_t blocks_count = fs_memory / cfg->block_size; in ext2_format()
161 uint32_t mem_for_inodes = fs_memory - occupied_blocks * cfg->block_size; in ext2_format()