Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/fs/ext2/
Dext2_format.c123 uint32_t inodes_per_block = cfg->block_size / sizeof(struct ext2_disk_inode); in ext2_format() local
163 if (inodes_count % inodes_per_block) { in ext2_format()
164 inodes_count += inodes_per_block - (inodes_count % inodes_per_block); in ext2_format()
167 uint32_t itable_blocks = inodes_count / inodes_per_block; in ext2_format()
326 inode_offset = (lost_found_inode - 1) % inodes_per_block; /* We count inodes from 1 */ in ext2_format()
330 if (inodes_per_block < lost_found_inode) { in ext2_format()
332 uint32_t block_num = itable_block_num + lost_found_inode / inodes_per_block; in ext2_format()
Dext2_diskops.c363 uint32_t inodes_per_block = fs->block_size / inode_size; in get_itable_entry() local
365 uint32_t block_index = ino_index / inodes_per_block; in get_itable_entry()
366 uint32_t block_offset = ino_index % inodes_per_block; in get_itable_entry()