Lines Matching refs:file_system_info
380 file_system_info.super_block_offset=1024; in set_file_system_info()
381 file_system_info.file_system_size=DefaultTotalBlocks*DefaultBlockSize; in set_file_system_info()
383 …low_read ((char *) &file_system_info.super_block,sizeof (struct ext2_super_block),file_system_info… in set_file_system_info()
385 sb=&file_system_info.super_block; in set_file_system_info()
414 file_system_info.block_size=EXT2_MIN_BLOCK_SIZE << sb->s_log_block_size; in set_file_system_info()
415 if (file_system_info.block_size == EXT2_MIN_BLOCK_SIZE) in set_file_system_info()
416 file_system_info.first_group_desc_offset=2*EXT2_MIN_BLOCK_SIZE; in set_file_system_info()
418 file_system_info.first_group_desc_offset=file_system_info.block_size; in set_file_system_info()
419 file_system_info.groups_count = ext2fs_div64_ceil(ext2fs_blocks_count(sb), in set_file_system_info()
422 file_system_info.inodes_per_block=file_system_info.block_size/sizeof (struct ext2_inode); in set_file_system_info()
423 file_system_info.blocks_per_group=sb->s_inodes_per_group/file_system_info.inodes_per_block; in set_file_system_info()
424 file_system_info.no_blocks_in_group=sb->s_blocks_per_group; in set_file_system_info()
425 file_system_info.file_system_size=(ext2fs_blocks_count(sb)-1)*file_system_info.block_size; in set_file_system_info()
429 file_system_info.file_system_size=DefaultTotalBlocks*DefaultBlockSize; in set_file_system_info()
430 file_system_info.block_size=DefaultBlockSize; in set_file_system_info()
431 file_system_info.no_blocks_in_group=DefaultBlocksInGroup; in set_file_system_info()
434 if (file_system_info.file_system_size > 2147483647) { in set_file_system_info()