Searched refs:EXT2_INODES_PER_GROUP (Results 1 – 12 of 12) sorted by relevance
117 dir_group = (dir - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()119 start_inode = (dir_group * EXT2_INODES_PER_GROUP(fs->super)) + 1; in ext2fs_new_inode()127 if (((i - 1) % EXT2_INODES_PER_GROUP(fs->super)) == 0) in ext2fs_new_inode()129 EXT2_INODES_PER_GROUP(fs->super)); in ext2fs_new_inode()
296 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_write()297 size = (EXT2_INODES_PER_GROUP(fs->super) / 8); in ext2fs_image_bitmap_write()373 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_read()374 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()565 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_read_inode_full()568 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_read_inode_full()686 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_write_inode_full()687 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_write_inode_full()
248 fs->inode_blocks_per_group = ((EXT2_INODES_PER_GROUP(fs->super) * in ext2fs_open2()274 if (EXT2_INODES_PER_GROUP(fs->super) == 0) { in ext2fs_open2()294 if (fs->group_desc_count * EXT2_INODES_PER_GROUP(fs->super) != in ext2fs_open2()
63 ((EXT2_INODES_PER_GROUP(fs->super)+7) / 8); in write_bitmaps()145 int inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in read_bitmaps()
63 real_end = (EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count); in ext2fs_allocate_inode_bitmap()
230 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) macro
154 # define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) macro159 # define EXT2_INODES_PER_GROUP(s) ((s)->s_inodes_per_group) macro
1317 EXT2_INODES_PER_GROUP(fs->super) * in expand_inode_table()1341 for (j = 0; j < EXT2_INODES_PER_GROUP(fs->super); j++) { in expand_inode_table()1461 EXT2_INODES_PER_GROUP(fs->super)* in resize_inode()
157 inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in list_desc()
552 end = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in check_inode_end()
1995 group = (ino - 1) / EXT2_INODES_PER_GROUP(current_fs->super); in do_imap()1996 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(current_fs->super)) * in do_imap()