Searched refs:EXT2_INODES_PER_GROUP (Results 1 – 4 of 4) sorted by relevance
135 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb); in ext2_free_inode()136 bit = (ino - 1) % EXT2_INODES_PER_GROUP(sb); in ext2_free_inode()179 block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); in ext2_preread_inode()187 offset = ((inode->i_ino - 1) % EXT2_INODES_PER_GROUP(inode->i_sb)) * in ext2_preread_inode()262 int inodes_per_group = EXT2_INODES_PER_GROUP(sb); in find_group_orlov()481 EXT2_INODES_PER_GROUP(sb), ino); in ext2_new_inode()482 if (ino >= EXT2_INODES_PER_GROUP(sb)) { in ext2_new_inode()498 if (++ino >= EXT2_INODES_PER_GROUP(sb)) { in ext2_new_inode()522 ino += group * EXT2_INODES_PER_GROUP(sb) + 1; in ext2_new_inode()645 x = ext2_count_free(bitmap_bh, EXT2_INODES_PER_GROUP(sb) / 8); in ext2_count_free_inodes()
1338 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb); in ext2_get_inode()1345 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(sb)) * EXT2_INODE_SIZE(sb); in ext2_get_inode()1479 ei->i_block_group = (ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); in ext2_iget()
216 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) macro
682 EXT2_INODES_PER_GROUP(sb), in ext2_setup_super()