Searched refs:EXT2_INODES_PER_GROUP (Results 1 – 14 of 14) sorted by relevance
301 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_write()302 size = (EXT2_INODES_PER_GROUP(fs->super) / 8); in ext2fs_image_bitmap_write()376 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_read()377 size = (EXT2_INODES_PER_GROUP(fs->super) / 8); in ext2fs_image_bitmap_read()
182 scan->inodes_left = EXT2_INODES_PER_GROUP(scan->fs->super); in ext2fs_open_inode_scan()275 EXT2_INODES_PER_GROUP(fs->super); in get_next_blockgroup()278 scan->inodes_left = EXT2_INODES_PER_GROUP(fs->super); in get_next_blockgroup()656 iblk = scan->current_inode % EXT2_INODES_PER_GROUP(scan->fs->super) / in ext2fs_get_next_inode_full()778 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_read_inode_full()781 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_read_inode_full()918 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_write_inode_full()919 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_write_inode_full()
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()
332 fs->inode_blocks_per_group = ((EXT2_INODES_PER_GROUP(fs->super) * in ext2fs_open2()357 if (EXT2_INODES_PER_GROUP(fs->super) == 0) { in ext2fs_open2()379 if (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()203 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()
264 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) macro
131 inode_group = inr / EXT2_INODES_PER_GROUP(fs); in ext2_get_inode()132 inode_offset = inr % EXT2_INODES_PER_GROUP(fs); in ext2_get_inode()
289 #define EXT2_INODES_PER_GROUP(fs) (EXT2_SB(fs)->s_inodes_per_group) macro
100 nbytes = (size_t)(EXT2_INODES_PER_GROUP(ctx->fs->super) / 8); in check_inode_bitmap_checksum()228 if ((start < 1) || (start > EXT2_INODES_PER_GROUP(fs->super))) { in e2fsck_discard_inodes()846 end = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in check_inode_end()
250 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) macro
171 inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in list_desc()
2376 EXT2_INODES_PER_GROUP(fs->super) * in expand_inode_table()2400 for (j = 0; j < EXT2_INODES_PER_GROUP(fs->super); j++) { in expand_inode_table()2531 EXT2_INODES_PER_GROUP(fs->super)* in resize_inode()
2070 group = (ino - 1) / EXT2_INODES_PER_GROUP(current_fs->super); in do_imap()2071 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(current_fs->super)) * in do_imap()