Searched refs:EXT2_INODES_PER_GROUP (Results 1 – 11 of 11) sorted by relevance
343 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_write()344 size = (EXT2_INODES_PER_GROUP(fs->super) / 8); in ext2fs_image_bitmap_write()418 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_read()419 size = (EXT2_INODES_PER_GROUP(fs->super) / 8); in ext2fs_image_bitmap_read()
105 group = (dir - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()106 start_inode = (group * EXT2_INODES_PER_GROUP(fs->super)) + 1; in ext2fs_new_inode()114 ino_in_group = (i - 1) % EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()115 group = (i - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()118 upto = i + (EXT2_INODES_PER_GROUP(fs->super) - ino_in_group); in ext2fs_new_inode()
190 scan->inodes_left = EXT2_INODES_PER_GROUP(scan->fs->super); in ext2fs_open_inode_scan()283 EXT2_INODES_PER_GROUP(fs->super); in get_next_blockgroup()286 scan->inodes_left = EXT2_INODES_PER_GROUP(fs->super); in get_next_blockgroup()669 iblk = scan->current_inode % EXT2_INODES_PER_GROUP(scan->fs->super) / in ext2fs_get_next_inode_full()793 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_read_inode2()796 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_read_inode2()944 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_write_inode2()945 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_write_inode2()
336 fs->inode_blocks_per_group = ((EXT2_INODES_PER_GROUP(fs->super) * in ext2fs_open2()361 if (EXT2_INODES_PER_GROUP(fs->super) == 0) { in ext2fs_open2()389 (__u64)fs->group_desc_count * EXT2_INODES_PER_GROUP(fs->super) != in ext2fs_open2()
61 ((EXT2_INODES_PER_GROUP(fs->super)+7) / 8); in write_bitmaps()215 int inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in read_bitmaps()
65 real_end = (EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count); in ext2fs_allocate_inode_bitmap()
276 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) macro
98 nbytes = (size_t)(EXT2_INODES_PER_GROUP(ctx->fs->super) / 8); in check_inode_bitmap_checksum()226 if ((start < 1) || (start > EXT2_INODES_PER_GROUP(fs->super))) { in e2fsck_discard_inodes()845 end = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in check_inode_end()
171 inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in list_desc()
2547 EXT2_INODES_PER_GROUP(fs->super) * in expand_inode_table()2571 for (j = 0; j < EXT2_INODES_PER_GROUP(fs->super); j++) { in expand_inode_table()2702 EXT2_INODES_PER_GROUP(fs->super)* in resize_inode()
2123 group = (ino - 1) / EXT2_INODES_PER_GROUP(current_fs->super); in do_imap()2124 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(current_fs->super)) * in do_imap()