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()181 block_group = (inode->i_ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); in ext2_preread_inode()189 offset = ((inode->i_ino - 1) % EXT2_INODES_PER_GROUP(inode->i_sb)) * in ext2_preread_inode()266 int inodes_per_group = EXT2_INODES_PER_GROUP(sb); in find_group_orlov()485 EXT2_INODES_PER_GROUP(sb), ino); in ext2_new_inode()486 if (ino >= EXT2_INODES_PER_GROUP(sb)) { in ext2_new_inode()502 if (++ino >= EXT2_INODES_PER_GROUP(sb)) { in ext2_new_inode()525 ino += group * EXT2_INODES_PER_GROUP(sb) + 1; in ext2_new_inode()648 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()1481 ei->i_block_group = (ino - 1) / EXT2_INODES_PER_GROUP(inode->i_sb); in ext2_iget()
205 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) macro
699 EXT2_INODES_PER_GROUP(sb), in ext2_setup_super()