Searched refs:inodes_per_block (Results 1 – 9 of 9) sorted by relevance
412 unsigned int inodes_in_buf, inodes_per_block; in check_inode_block_sanity() local431 inodes_per_block = EXT2_INODES_PER_BLOCK(scan->fs->super); in check_inode_block_sanity()433 if (inodes_per_block < 2) in check_inode_block_sanity()464 if (badness > inodes_per_block / 2) { in check_inode_block_sanity()468 ino_adj = inodes_per_block - in check_inode_block_sanity()469 ((ino - 1) % inodes_per_block); in check_inode_block_sanity()479 if ((ino % inodes_per_block) == 0) { in check_inode_block_sanity()738 int clen, inodes_per_block; in ext2fs_read_inode_full() local771 inodes_per_block = fs->blocksize / EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()773 block_nr += (ino - 1) / inodes_per_block; in ext2fs_read_inode_full()[all …]
148 int inode_group, group_offset, inodes_per_block; in do_logdump() local161 inodes_per_block = (current_fs->blocksize in do_logdump()166 (group_offset / inodes_per_block); in do_logdump()167 inode_offset_to_dump = ((group_offset % inodes_per_block) in do_logdump()
183 block_num = inode_table + inode_offset / UFS_SB(fs)->inodes_per_block; in ufs_get_inode()184 block_off = inode_offset % UFS_SB(fs)->inodes_per_block; in ufs_get_inode()426 sbi->inodes_per_block = sb->block_size / sbi->inode_size; in set_ufs_info()
119 uint32_t inodes_per_block; // Inodes per block member
471 int inodes_per_block; in check_super_block() local482 inodes_per_block = EXT2_INODES_PER_BLOCK(fs->super); in check_super_block()483 ipg_max = inodes_per_block * (blocks_per_group - 4); in check_super_block()524 MIN_CHECK | MAX_CHECK, inodes_per_block, ipg_max); in check_super_block()
959 ext2_ino_t inodes_in_group = 0, inodes_per_block, inodes_per_buffer; in pass1_readahead() local968 inodes_per_block = EXT2_INODES_PER_BLOCK(ctx->fs->super); in pass1_readahead()974 blocks_to_read += (inodes_in_group + inodes_per_block - 1) / in pass1_readahead()975 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
7085 Fixed a bug in e2fsck's calculation of the number of inodes_per_block