Searched refs:inodes_per_block (Results 1 – 7 of 7) sorted by relevance
424 unsigned int inodes_in_buf, inodes_per_block; in check_inode_block_sanity() local443 inodes_per_block = EXT2_INODES_PER_BLOCK(scan->fs->super); in check_inode_block_sanity()445 if (inodes_per_block < 2) in check_inode_block_sanity()476 if (badness > inodes_per_block / 2) { in check_inode_block_sanity()480 ino_adj = inodes_per_block - in check_inode_block_sanity()481 ((ino - 1) % inodes_per_block); in check_inode_block_sanity()491 if ((ino % inodes_per_block) == 0) { in check_inode_block_sanity()753 int clen, inodes_per_block; in ext2fs_read_inode2() local786 inodes_per_block = fs->blocksize / EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode2()788 block_nr += (ino - 1) / inodes_per_block; in ext2fs_read_inode2()[all …]
153 int inode_group, group_offset, inodes_per_block; in do_logdump() local166 inodes_per_block = (current_fs->blocksize in do_logdump()171 (group_offset / inodes_per_block); in do_logdump()172 inode_offset_to_dump = ((group_offset % inodes_per_block) in do_logdump()
590 int inodes_per_block; in check_super_block() local601 inodes_per_block = EXT2_INODES_PER_BLOCK(fs->super); in check_super_block()602 ipg_max = inodes_per_block * (blocks_per_group - 4); in check_super_block()660 MIN_CHECK | MAX_CHECK, inodes_per_block, ipg_max)) in check_super_block()
1071 ext2_ino_t inodes_in_group = 0, inodes_per_block, inodes_per_buffer; in pass1_readahead() local1080 inodes_per_block = EXT2_INODES_PER_BLOCK(ctx->fs->super); in pass1_readahead()1086 blocks_to_read += (inodes_in_group + inodes_per_block - 1) / in pass1_readahead()1087 inodes_per_block; in pass1_readahead()
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()
122 unsigned long inodes_per_block; member
60 Fixed a bug in e2fsck's calculation of the number of inodes_per_block