Searched refs:EXT2_INODES_PER_GROUP (Results 1 – 11 of 11) sorted by relevance
124 group = (dir - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()125 start_inode = (group * EXT2_INODES_PER_GROUP(fs->super)) + 1; in ext2fs_new_inode()133 ino_in_group = (i - 1) % EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()134 group = (i - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()137 upto = i + (EXT2_INODES_PER_GROUP(fs->super) - ino_in_group); in ext2fs_new_inode()
300 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_write()301 size = (EXT2_INODES_PER_GROUP(fs->super) / 8); in ext2fs_image_bitmap_write()375 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_read()376 size = (EXT2_INODES_PER_GROUP(fs->super) / 8); in ext2fs_image_bitmap_read()
148 scan->inodes_left = EXT2_INODES_PER_GROUP(scan->fs->super); in ext2fs_open_inode_scan()238 EXT2_INODES_PER_GROUP(fs->super); in get_next_blockgroup()241 scan->inodes_left = EXT2_INODES_PER_GROUP(fs->super); in get_next_blockgroup()568 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_read_inode_full()571 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_read_inode_full()692 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_write_inode_full()693 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_write_inode_full()
285 fs->inode_blocks_per_group = ((EXT2_INODES_PER_GROUP(fs->super) * in ext2fs_open2()311 if (EXT2_INODES_PER_GROUP(fs->super) == 0) { in ext2fs_open2()331 if (fs->group_desc_count * EXT2_INODES_PER_GROUP(fs->super) != in ext2fs_open2()
62 ((EXT2_INODES_PER_GROUP(fs->super)+7) / 8); in write_bitmaps()154 int inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in read_bitmaps()
64 real_end = (EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count); in ext2fs_allocate_inode_bitmap()
250 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) macro
110 if ((start < 1) || (start > EXT2_INODES_PER_GROUP(fs->super))) { in e2fsck_discard_inodes()815 end = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in check_inode_end()
1604 EXT2_INODES_PER_GROUP(fs->super) * in expand_inode_table()1628 for (j = 0; j < EXT2_INODES_PER_GROUP(fs->super); j++) { in expand_inode_table()1757 EXT2_INODES_PER_GROUP(fs->super)* in resize_inode()
171 inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in list_desc()
2127 group = (ino - 1) / EXT2_INODES_PER_GROUP(current_fs->super); in do_imap()2128 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(current_fs->super)) * in do_imap()