Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/fs/ext2/
Dext2_diskops.c35 sb->s_blocks_count = sys_le32_to_cpu(disk_sb->s_blocks_count); in fill_sblock()
62 disk_sb->s_blocks_count = sys_cpu_to_le32(sb->s_blocks_count); in fill_disk_sblock()
229 fs->sblock.s_blocks_count / fs->sblock.s_blocks_per_group; in get_ngroups()
231 if (fs->sblock.s_blocks_count % fs->sblock.s_blocks_per_group != 0) { in get_ngroups()
914 set = ext2_bitmap_count_set(BGROUP_BLOCK_BITMAP(&fs->bgroup), fs->sblock.s_blocks_count); in ext2_alloc_block()
916 if (set != (fs->sblock.s_blocks_count - fs->sblock.s_free_blocks_count)) { in ext2_alloc_block()
1070 set = ext2_bitmap_count_set(BGROUP_BLOCK_BITMAP(&fs->bgroup), fs->sblock.s_blocks_count); in ext2_free_block()
1072 if (set != fs->sblock.s_blocks_count - fs->sblock.s_free_blocks_count) { in ext2_free_block()
Dext2_struct.h17 uint32_t s_blocks_count; member
105 uint32_t s_blocks_count; member
Dext2_impl.c297 sys_le32_to_cpu(sb->s_blocks_count), in ext2_verify_disk_superblock()
344 uint32_t fs_blocks = sb->s_blocks_count - sb->s_first_data_block; in ext2_init_fs()
348 if (set != sb->s_blocks_count - sb->s_free_blocks_count - sb->s_first_data_block) { in ext2_init_fs()
Dext2_format.c212 sb->s_blocks_count = sys_cpu_to_le32(blocks_count); in ext2_format()
Dext2_ops.c616 stat->f_blocks = fs->sblock.s_blocks_count; in ext2_statvfs()