Searched refs:inodes_per_block (Results 1 – 7 of 7) sorted by relevance
433 unsigned int inodes_in_buf, inodes_per_block; in check_inode_block_sanity() local452 inodes_per_block = EXT2_INODES_PER_BLOCK(scan->fs->super); in check_inode_block_sanity()454 if (inodes_per_block < 2) in check_inode_block_sanity()485 if (badness > inodes_per_block / 2) { in check_inode_block_sanity()489 ino_adj = inodes_per_block - in check_inode_block_sanity()490 ((ino - 1) % inodes_per_block); in check_inode_block_sanity()500 if ((ino % inodes_per_block) == 0) { in check_inode_block_sanity()762 int clen, inodes_per_block; in ext2fs_read_inode2() local797 inodes_per_block = fs->blocksize / EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode2()799 block_nr += (ino - 1) / inodes_per_block; in ext2fs_read_inode2()[all …]
153 int inode_group, group_offset, inodes_per_block; in do_logdump() local167 inodes_per_block = (current_fs->blocksize in do_logdump()172 (group_offset / inodes_per_block); in do_logdump()173 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()
1062 ext2_ino_t inodes_in_group = 0, inodes_per_block, inodes_per_buffer; in pass1_readahead() local1071 inodes_per_block = EXT2_INODES_PER_BLOCK(ctx->fs->super); in pass1_readahead()1077 blocks_to_read += (inodes_in_group + inodes_per_block - 1) / in pass1_readahead()1078 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